On Sun, Jun 22, 2008 at 5:39 AM, Kapil Hari Paranjape <kapil@xxxxxxxxxxx>
wrote:
Hello,
On Sat, 21 Jun 2008, Raja Subramanian wrote:
it is easy to establish more than N connections per minute over
the LAN through regular usage through various shell scripts, maintenance
tasks, etc.
Multiple ssh connections are not really required for recent openssh
clients. These create a local "connection socket" which allows
multiple ssh clients to operate through one TCP connection.
For example my config file for a specific client looks like:
Host somename
User myname
ControlPath ~/.ssh/%r.%h.sock
ControlMaster auto
StrictHostKeyChecking yes
IdentityFile ~/.ssh/myid_dsa
PasswordAuthentication no
UserKnownHostsFile ~/.ssh/known_hosts
ForwardX11 no
ForwardAgent no
As a consequence, if I log in to "somename" once, then the
same TCP connection can be re-used by other clients---without
re-authentication. This is most useful if I later need to "scp" a file
to the "somename" while remaining connected.
Regards,
Kapil.
--
Hi Kapil,