Iterm2 Clone Session
vim ~/.ssh/config
# 贴入如下内容:
Host *
ServerAliveInterval 30
ControlMaster auto
ControlPath ~/.ssh/master-%r@%h:%p
ControlPersist yes
退出iterm2,重新登录即可。
vim ~/.ssh/config
# 贴入如下内容:
Host *
ServerAliveInterval 30
ControlMaster auto
ControlPath ~/.ssh/master-%r@%h:%p
ControlPersist yes
退出iterm2,重新登录即可。