一些ssh通用的配置
- est - @roylez: bizarrely trapped是写~/.ssh/config的,由于文件后面一堆host,不太适合放到github,所以把通用的配置放这里.
是写~/.ssh/config
的,由于文件后面一堆host,不太适合放到github,所以把通用的配置放这里
ServerAliveInterval 180
AddressFamily inet
Compression yes
# make connection faster
# http://blogs.perl.org/users/smylers/2011/08/ssh-productivity-tips.html
GSSAPIAuthentication no
# share ssh session
ControlMaster auto
ControlPath /tmp/ssh_mux_%h_%p_%r
# keep alive for 2h
ControlPersist 2h