dotfiles/.ssh/config

37 lines
1.0 KiB
Plaintext

# .ssh/config -- Samuel FORESTIER
Host github.com
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512
CheckHostIP no
Host *
KexAlgorithms curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256
Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,umac-128@openssh.com
HostKeyAlgorithms ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ssh-rsa
IdentityFile ~/.ssh/id_rsa
IdentityFile ~/.ssh/id_ed25519
CheckHostIP yes
AddKeysToAgent yes
ConnectTimeout 30
ServerAliveInterval 10
ControlMaster auto
ControlPersist 1
ControlPath ~/.ssh/socket-%r@%h:%p
VisualHostKey yes
StrictHostKeyChecking ask
## If SSHFP is available with some of your hosts
# VerifyHostKeyDNS ask
## Should be uncommented
# PasswordAuthentication no
# ChallengeResponseAuthentication no