Last active
June 20, 2018 19:59
-
-
Save carlosm3011/55e64e2537e9a9d07938c2adbc2d2741 to your computer and use it in GitHub Desktop.
ssh config tweaks for macOS Sierra
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Added "Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc"