Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A possible fix for slow SSH connections' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A possible fix for slow SSH connections
Authored by: rprestonatmitre on Mar 31, '05 05:54:45PM
This may help, found in man ssh(1):
ssh automatically maintains and checks a database containing identifications for all hosts it has ever been used with. Host keys are stored in $HOME/.ssh/known_hosts in the user's home directory. Additionally, the file /etc/ssh_known_hosts is automatically checked for known hosts. Any new hosts are automatically added to the user's file. If a host's identification ever changes, ssh warns about this and disables password authentication to prevent a trojan horse from getting the user's password.
Perhaps deleting the entry for the machine you're trying to connect to will help.



[ Reply to This | # ]

A possible fix for slow SSH connections
Authored by: Lido on Mar 31, '05 07:04:39PM

What's weird is that added the server name and ip address to /etc/hosts and that fixed the problem. Then I read your post about /known_hosts and commented out the line I'd added to /etc/hosts and deleted the line in known_hosts related to my server. It also worked. The solution is as baffling as the problem.

---
-Lido



[ Reply to This | # ]