From: Sam H. <sh...@ma...> - 2005-12-05 20:07:36
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everyone, OpenSSH 4.0 has the ability to multiplex multiple sessions on top of one connection. That means that there can be only one TCP session, only one key exchange, only one login, etc. for all your connections to a particular server. This speeds things up considerably! I find this particularly useful for remote editing of WeBWorK files on devel. It could also be useful for remote CVS activities. The catch is you have to update your SSH client to version 4.0 or greater. I did it on Mac OS X with Fink. Most Linux distros supply it as well. Instructions are at: http://www.debian-administration.org/articles/290 http://gcc.gnu.org/wiki/SSH%20connection%20caching I use Interarchy on the Mac, and though it does internal connection caching, it doesn't do multiplexing, and the cached connections time out after a while. I used to find it really annoying when I had to wait for a reconnect when going back to an Interarchy window after a while. One catch with this setup is that if you put a "ControlMaster" line in your ~/.ssh/config file, you'll have to actually replace /usr/bin/ ssh with the new version, or Interarchy will choke while connecting. I renamed /usr/bin/ssh to ssh.ORIG and put a symlink to /sw/bin/ssh at /usr/bin/ssh. Hope this is useful to you all. - -sam -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFDlJ3214CQX+2WvVgRAh+CAJ9txpBnv1viHJhwebuGSF3HPWPixACfQxkD jYAEeCUX4WyCw2gwCGdHaKk= =m1D9 -----END PGP SIGNATURE----- |