Skip to content

Instantly share code, notes, and snippets.

@kitten
Last active March 13, 2016 15:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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 chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-ripemd160-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160,umac-128@openssh.com
Compression yes
CompressionLevel 6
UseRoaming no
# Only allow RSA and ED25519 keys
HostKeyAlgorithms ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ssh-rsa
KexAlgorithms curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256
Host github.com
Hostname ssh.github.com
Port 443
# Github needs SHA1 sometimes
KexAlgorithms curve25519-sha256@libssh.org,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