session multiplexing

WARNING: Please update your bookmarks! The content of this site has been moved to http://dille.name where it will be updated as needed. This page will remain unchanged.

although the openssh client supports session multiplexing as of version 3.9, i understand that the server offers the support for some time. it allows several logins to share the same session and therefore the same login credentials. you will not have to authenticate everytime you open a session.

session multiplexing can be implemented on the command line or in your ~/.ssh/config. the first session you create is set up as a master with a dedicated control socket. all consecutive sessions will only need to be supplied the control socket to share the same session as the master.

for the master session, it is quite useful to push the ssh client into the background as demonstrated in background ssh:

$ ssh -fN myhost-master
...
$ ssh myhost