Sha256: 3db8889dafc929dc52c1ed9aa66f7c8e53290d8cb6b7592e6bb595292f4066fa

Contents?: true

Size: 1015 Bytes

Versions: 19

Compression:

Stored size: 1015 Bytes

Contents

The SSH protocol requires that requests for services on a remote machine be made over _channels_. A single SSH connection may contain multiple channels, all run simultaneously over that connection.

Each channel, in turn, represents the processing of a single service.  When you invoke a process on the remote host with Net::SSH, a channel is opened for that invocation, and all input and output relevant to that process is sent through that channel. The connection itself simply manages the packets of all of the channels that it has open.

This means that, for instance, over a single SSH connection you could execute a process, download a file via SFTP, and forward any number of ports, all (seemingly) at the same time!

Naturally, they do not occur simultaneously, but rather work in a "time-share" fashion by sharing the bandwidth of the connection. Nevertheless, the fact that these channels exist make working with the SSH protocol a bit more challenging than simpler protocols (like FTP, HTTP, or Telnet).

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
net-ssh-0.5.0 doc/manual/parts/channels_what_are.txt
net-ssh-1.0.1 doc/manual/parts/0010.txt
net-ssh-1.0.10 doc/manual/parts/0010.txt
net-ssh-0.9.0 doc/manual/parts/channels_what_are.txt
net-ssh-0.6.0 doc/manual/parts/channels_what_are.txt
net-ssh-1.0.0 doc/manual/parts/channels_what_are.txt
net-ssh-1.0.7 doc/manual/parts/0010.txt
net-ssh-1.0.5 doc/manual/parts/0010.txt
net-ssh-1.0.2 doc/manual/parts/0010.txt
net-ssh-1.0.6 doc/manual/parts/0010.txt
net-ssh-1.0.8 doc/manual/parts/0010.txt
net-ssh-1.0.3 doc/manual/parts/0010.txt
net-ssh-1.0.4 doc/manual/parts/0010.txt
net-ssh-1.0.9 doc/manual/parts/0010.txt
net-ssh-1.1.0 doc/manual/parts/0010.txt
net-ssh-1.1.2 doc/manual/parts/0010.txt
net-ssh-1.1.1 doc/manual/parts/0010.txt
net-ssh-1.1.3 doc/manual/parts/0010.txt
net-ssh-1.1.4 doc/manual/parts/0010.txt