Explains how SSH multiplexing carries concurrent shell, remote-command, and secure file-transfer channels through one authenticated TCP connection between a client and server.
An SSH multichannel connection is a multiplexed session that
-
carries multiple SSH channels through one TCP socket
-
authenticates the user once for all channels in the session, and
-
supports simultaneous terminal, command-execution, and file-transfer operations.
Server-side multiplexing is enabled by default. A compatible client must explicitly enable multiplexing.
Benefits of SSH multiplexing
-
Reduces repeated authentication.
-
Avoids establishing a separate TCP connection for each operation.