80070007 SSH Tunnel Server does not support diffie-hellman-group1-sha1 for keyexchange

报错:

1
80070007: SSH Tunnel: Server does not support diffie-hellman-group1-sha1 for keyexchange

解决:

1
2
3
vim /etc/ssh/sshd_config
KexAlgorithms diffie-hellman-group1-sha1,curve25519-sha256@libssh.org,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
1
2
ssh-keygen -A
service ssh restart