mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
58 lines
1.4 KiB
Plaintext
58 lines
1.4 KiB
Plaintext
# My SSH config. This does leak existense of some hosts where I have
|
|
# access, but they should require SSH key authentication anyway.
|
|
|
|
Host *
|
|
# Path for the control socket
|
|
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
|
|
# closed.
|
|
ControlPersist yes
|
|
|
|
ForwardAgent 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
|
|
|
|
LogLevel VERBOSE
|
|
Protocol 2
|
|
|
|
# Always try public key authentication
|
|
PubkeyAuthentication yes
|
|
|
|
# "ping" the server every minute, if it doesn't reply in three
|
|
# "pings", disconnect.
|
|
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
|
|
HostName hilla.kapsi.fi
|
|
User mikaela
|
|
|
|
Host lakka
|
|
HostName lakka.kapsi.fi
|
|
User mikaela
|
|
|
|
Host synvaler
|
|
AddressFamily inet6
|
|
HostName synvaler.mikaela.info
|
|
User nemo
|
|
|
|
Host tezagm
|
|
HostName tezagm.mikaela.info
|
|
User mikaela
|
|
|
|
Host verdarik
|
|
HostName verdarik.mikaela.info
|
|
User mikaela
|