Skip to content

Instantly share code, notes, and snippets.

@hjc
Last active December 22, 2015 15:59
Show Gist options
  • Save hjc/6496375 to your computer and use it in GitHub Desktop.
Save hjc/6496375 to your computer and use it in GitHub Desktop.
SSH config that tries to stop some of the NSA horseshit.
Host *
ServerAliveInterval 10
IdentitiesOnly yes
Cipher blowfish
Ciphers blowfish-cbc
AskPassGUI no
CheckHostIP yes
Compression no
ForwardAgent no
ForwardX11 no
ForwardX11Trusted no
GatewayPorts no
GSSAPIAuthentication no
GSSAPIKeyExchange no
HostbasedAuthentication no
HostKeyAlgorithms ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-dss-cert-v00@openssh.com,ssh-rsa,ssh-dss
KexAlgorithms diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1
Protocol 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment