Skip to content

Instantly share code, notes, and snippets.

@kitten
Last active March 13, 2016 15:38
Show Gist options
  • Save kitten/a36b9bc5fd09dca1f552 to your computer and use it in GitHub Desktop.
Save kitten/a36b9bc5fd09dca1f552 to your computer and use it in GitHub Desktop.
ssh/config
Host *
Ciphers [email protected],[email protected],[email protected],aes256-ctr
MACs [email protected],[email protected],[email protected],[email protected],hmac-sha2-512,hmac-sha2-256,hmac-ripemd160,[email protected]
Compression yes
CompressionLevel 6
UseRoaming no
# Only allow RSA and ED25519 keys
HostKeyAlgorithms [email protected],[email protected],ssh-ed25519,ssh-rsa
KexAlgorithms [email protected],diffie-hellman-group-exchange-sha256
Host github.com
Hostname ssh.github.com
Port 443
# Github needs SHA1 sometimes
KexAlgorithms [email protected],diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment