Tag Archives: linux

clone ssh session

SecureCRT has a very good feature — clone session.

we can also enjoy that feature on other platforms.

chmod 600 ~/.ssh/config

vim  ~/.ssh/config

add the following:

Host *
ControlMaster auto
ControlPath ~/.ssh/master-%r@%h:%p

then ssh to your server. in my case , it’s a dynamic rsa password auth server.

login once, and the next time you open the same session,it would connect immediately.

more info: http://www.linuxjournal.com/content/speed-multiple-ssh-connections-same-server

http://www.linuxjournal.com/content/speed-multiple-ssh-connections-same-server