sort ssh config

This commit is contained in:
Aminda Suomalainen 2015-08-30 17:17:12 +03:00
parent a87af2c43c
commit 702d426345

View File

@ -2,19 +2,10 @@
# access, but they should require SSH key authentication anyway. # access, but they should require SSH key authentication anyway.
Host * Host *
# Ensure KnownHosts are unreadable if leaked.
# While you might be reading this file from GitHub, I haven't
# specified all hosts here.
HashKnownHosts yes
# Verify SSHFP records. In case DNSSEC is used this skips the
# question on whether you trust the fingerprint or not.
VerifyHostKeyDNS=yes
# Multiple sessions over single connection
ControlMaster yes
# Path for the control socket # Path for the control socket
ControlPath /tmp/SSH_%u-%r.%h.%p ControlPath /tmp/SSH_%u-%r.%h.%p
# Multiple sessions over single connection
ControlMaster yes
# Keep connection open in the background even after connection has been # Keep connection open in the background even after connection has been
# closed. # closed.
ControlPersist yes ControlPersist yes
@ -22,6 +13,12 @@ Host *
ForwardAgent no ForwardAgent no
ForwardX11 no ForwardX11 no
# Ensure KnownHosts are unreadable if leaked.
# While you might be reading this file from GitHub, I haven't
# specified all hosts here.
HashKnownHosts yes
# SSH key to use
IdentityFile ~/.ssh/Mikaela_Suomalainen IdentityFile ~/.ssh/Mikaela_Suomalainen
LogLevel VERBOSE LogLevel VERBOSE
@ -34,6 +31,10 @@ Host *
# "pings", disconnect. # "pings", disconnect.
ServerAliveInterval 60 ServerAliveInterval 60
# Verify SSHFP records. In case DNSSEC is used this skips the
# question on whether you trust the fingerprint or not.
VerifyHostKeyDNS=yes
Host hilla Host hilla
HostName hilla.kapsi.fi HostName hilla.kapsi.fi
User mikaela User mikaela
@ -43,14 +44,14 @@ Host lakka
User mikaela User mikaela
Host synvaler Host synvaler
HostName synvaler.mikaela.info
AddressFamily inet6 AddressFamily inet6
HostName synvaler.mikaela.info
User nemo User nemo
Host verdarik
HostName verdarik.mikaela.info
User mikaela
Host tezagm Host tezagm
HostName tezagm.mikaela.info HostName tezagm.mikaela.info
User mikaela User mikaela
Host verdarik
HostName verdarik.mikaela.info
User mikaela