|
|
A possible fix for slow SSH connections
I just asked my friend to login to my server from his mac and he can do it fine, so it's not something to do with reverse dns (unless somehow he turned his checking off on his mac). This problem seems to be isolated to my mac trying to ssh to a specific server.
A possible fix for slow SSH connections
Then most probably one of the two nodes, your machine or the remote machine, is not configured to do name lookups correctly. A common mistake is not including relevant domains in the resolver search lists.
A possible fix for slow SSH connections
On my machine I can connect to other servers so I don't understand what would screw this one up. Also, other people can connect to the server that's giving me trouble (including me if I ssh through another server).
A possible fix for slow SSH connections
Yes, it should. Look under "spoofing attacks" and ways to prevent them. Checking DNS records is a common first step in spotting a spoof attempt.
A possible fix for slow SSH connections
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.
A possible fix for slow SSH connections
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.
A possible fix for slow SSH connections
I had the problem originally described as well and came up with the same solution some time back. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.19 seconds |
|