# To keep alive ssh
Host *
ControlPersist yes
ControlMaster auto
ControlPath ~/.ssh/master-%r@%h:%p
ServerAliveInterval 30
Host git.xxx.com
HostName git.xxx.com
User xxx
IdentityFile ~/.ssh/id_rsa
Host github.com
HostName github.com
User xxx
IdentityFile ~/.ssh/github
ProxyCommand connect -S 127.0.0.1:xxx %h %p #socket proxy
SSH Config
猜你喜欢
转载自blog.csdn.net/gongchenyu/article/details/105450856
今日推荐
周排行