Skip to content

Instantly share code, notes, and snippets.

@akhenakh
Created January 6, 2015 22:40
Show Gist options
  • Save akhenakh/5a9c5fb93d8a7fa74cc0 to your computer and use it in GitHub Desktop.
Save akhenakh/5a9c5fb93d8a7fa74cc0 to your computer and use it in GitHub Desktop.
you .ssh/config could be
TCPKeepAlive=yes
ServerAliveInterval=15
ServerAliveCountMax=6
Compression=yes
ForwardAgent=yes
NoHostAuthenticationForLocalhost=yes
# Github supports neither AE nor Encrypt-then-MAC. LOL
Host github.com
MACs [email protected],[email protected],[email protected],[email protected],hmac-sha2-512
KexAlgorithms diffie-hellman-group1-sha1
Host *
KexAlgorithms [email protected],diffie-hellman-group-exchange-sha256
MACs [email protected],[email protected],[email protected],[email protected]
Ciphers [email protected],[email protected],[email protected],aes256-ctr,aes192-ctr,aes128-ctr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment