1758842 Members
3000 Online
108876 Solutions
New Discussion юеВ

ssh2 connection problem

 
Nelson Gomes
Occasional Contributor

ssh2 connection problem

I can not connect to HP Server use PUTTY. The following are messages from syslog. Can anybody help me?

Jan 22 22:30:43 primusto sshd[7188]: Accepted password for annie from
10.10.1.66 port 4700 ssh2
Jan 22 22:30:43 primusto sshd[7188]: Could not reverse map address
10.10.1.66.
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: ssh2 connection problem

This appears to indicate a DNS problem.

Your security setup seems to require a valid reverse dns lookup for all logins.

I'd like to know how you did it, it would be a significant upgrade to security.

You need to contact your DNS admin and get reverse lookup records assigned for that workstation or turn off the security feature.

I do not have reerse lookup records for the workstations on my office network and use putty just fine.

If you are the DNS admin, post it back and I'll find you a procedure for setting up the reverse lookup records.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Andrew Cowan
Honored Contributor

Re: ssh2 connection problem

This is a setting in the /etc/ssh/sshd_config.

"UseDNS" Specifies whether sshd should lookup the remote host name and check that the solved host name for the remote IP address map back to the very same IP address. The default is`yes''.

http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5&arch=&apropos=0&manpath=OpenBSD+Current)

If you change the setting to NO, and restart sshd, it will no longer check for DNS.