Skip to content

Instantly share code, notes, and snippets.

@jairoFernandez
Created February 16, 2018 17:51
Show Gist options
  • Save jairoFernandez/6c44d80c3721917e7e1b1779817f3f21 to your computer and use it in GitHub Desktop.
Save jairoFernandez/6c44d80c3721917e7e1b1779817f3f21 to your computer and use it in GitHub Desktop.
Server does not support diffie-hellman-group1-sha1 for keyexchange
sudo nano /etc/ssh/sshd_config
KexAlgorithms diffie-hellman-group1-sha1,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1
Ciphers 3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr
ssh-keygen -A
sudo service ssh restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment