update ssh config

This commit is contained in:
Aminda Suomalainen 2015-08-30 17:08:29 +03:00
parent 73e9e99d9c
commit 898b30cccc

View File

@ -2,22 +2,32 @@
# access, but they should require SSH key authentication anyway. # access, but they should require SSH key authentication anyway.
Host * Host *
# Verify SSHFP records. In case DNSSEC is used this skips the
# question on whether you trust the fingerprint or not.
VerifyHostKeyDNS=yes VerifyHostKeyDNS=yes
Compression yes
CompressionLevel 6 # Multiple sessions over single connection
ControlMaster yes ControlMaster yes
# Path for the control socket
ControlPath /tmp/SSH_%u-%r.%h.%p ControlPath /tmp/SSH_%u-%r.%h.%p
# Keep connection open in the background even after connection has been
# closed.
ControlPersist yes ControlPersist yes
ForwardAgent no ForwardAgent no
ForwardX11 no ForwardX11 no
IdentityFile ~/.ssh/Mikaela_Suomalainen IdentityFile ~/.ssh/Mikaela_Suomalainen
LogLevel VERBOSE LogLevel VERBOSE
Protocol 2 Protocol 2
# Always try public key authentication
PubkeyAuthentication yes PubkeyAuthentication yes
RequestTTY yes
SendEnv * # "ping" the server every minute, if it doesn't reply in three
# "pings", disconnect.
ServerAliveInterval 60 ServerAliveInterval 60
UpdateHostKeys=ask
Host hilla Host hilla
HostName hilla.kapsi.fi HostName hilla.kapsi.fi