szim90
July 5th, 2008, 08:10 PM
Hello.
Recently I began having problems logging in to my ssh server. While on my LAN, I could log in if I used the dns name of the server (which pointed to my router which forwarded port 22 to my ssh server), but I couldn't if I used the 192.168.x.x IP address.
When it would not work, it would hang at:
debug1: SSH2_MSG_SERVICE_ACCEPT received
I found that if I turned off the UseDNS option in the sshd_config file, the problem went away. Is there any security risk in turning this option off?
Thank you for any help,
Sean
Recently I began having problems logging in to my ssh server. While on my LAN, I could log in if I used the dns name of the server (which pointed to my router which forwarded port 22 to my ssh server), but I couldn't if I used the 192.168.x.x IP address.
When it would not work, it would hang at:
debug1: SSH2_MSG_SERVICE_ACCEPT received
I found that if I turned off the UseDNS option in the sshd_config file, the problem went away. Is there any security risk in turning this option off?
Thank you for any help,
Sean