Hi, Sorry for those who already know about this but if you've no idea what ssh session multiplexing is read on, you might find it useful.
Recent versions of ssh added functionality to share one tcp and authentication session with multiple ssh/scp/sftp connections. This allows you to connect to a host once, authenticate once, and then re-use that connection for other ssh sessions. This can speed up CVS and distcc a fair amount, as they open multiple sessions normally, and must authenticate each time. To make use of this I have setup my .ssh/config file like this for the a CVS server I use: host cvs.myserver.com-master hostname cvs.myserver.com User tigger ControlMaster yes ControlPath ~.ssh/cvs.myserver.com-mux host cvs.myserver.com User tigger ControlMaster no ControlPath ~.ssh/cvs.myserver.com-mux I can then do: $ ssh -N cvs.myserver.com-master & $ cd my_project $ cvs up -Pd $ kill %1 All the ssh sessions which CVS opens up will use the already authenticated master session. The -N means that the master session won't attempt to run any commands which is useful if the other end of the session isn't needed, as in this case where CVS will open new connections for itself. Hope someone finds this useful :) For more information I recommend the man page for ssh or google ;) -- rob holland - [ [EMAIL PROTECTED] ] [ 5251 4FAC D684 8845 5604 E44F D65C 392F D91B 4729 ] -- [email protected] mailing list
