admin管理员组

文章数量:1558103

$ cat config 
ControlPath ~/.ssh/controlmasters/%r@%h:%p
ControlMaster auto
ControlPersist 60


By allowing "ControlPersist", 

  • any connected ssh session could quit (without this, the first session can not quit unless all other session are terminated)
  • even if all sessions are seemingly terminated, within the time period new connections are still using an established master connection
  • can be manually terminated easily using "ssh -O exit <host>"

本文标签: SSHControlPersistrocks