Wednesday, 18 May 2016

SSH Errors & Solutions

1- ssh taking long time password

#vi /etc/ssh/sshd_config
and edit or add the following entry as below



UseDNS no

2- SSH algorithm negotiation failed

"Algorithm negotiation failed.
Key exchange with the remote host failed. This can happen if the host does not support the selected algorithms."

Solution 01

ssh -o "Compression no" root@192.168.220.245


Solution 02

add the following into /etc/ssh/sshd_config

KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1,diffie-hellman-group-exchange-sha1


No comments:

Post a Comment