Skip to content

Instantly share code, notes, and snippets.

@carlosm3011
Last active June 20, 2018 19:59
Show Gist options
  • Save carlosm3011/55e64e2537e9a9d07938c2adbc2d2741 to your computer and use it in GitHub Desktop.
Save carlosm3011/55e64e2537e9a9d07938c2adbc2d2741 to your computer and use it in GitHub Desktop.
ssh config tweaks for macOS Sierra
# macOS Sierra ssh config tweaks
# This file (or something similar) should go in $HOME/.ssh/config
# Permissions should be set to 0600
#
# Comments:
# UseKeychain: allow ssh-agent to read keys from macOS's keychain (avoiding the need to re-input passphrases all the time)
#
#
# PubKeyAccecptedKeyTypes: accept old pubkey types (needed for accesing older ssh implementations)
# KexAlgorithms: accept old style key exchanges
#
# More info here: https://github.com/jirsbek/SSH-keys-in-macOS-Sierra-keychain
#
Host *
AddKeysToAgent yes
UseKeychain yes
ServerAliveInterval 300
ServerAliveCountMax 2
PubkeyAcceptedKeyTypes +ssh-dss
KexAlgorithms +diffie-hellman-group1-sha1
HostKeyAlgorithms +ssh-dss
Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc
@carlosm3011
Copy link
Author

Added "Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment