Operating System - HP-UX
1753426 Members
5047 Online
108793 Solutions
New Discussion юеВ

Re: issue with ssh doing wrong name resolution

 
SOLVED
Go to solution
Bill Hassell
Honored Contributor

Re: issue with ssh doing wrong name resolution

Always check name resolution with nsquery as well as nslookup:

nslookup cap1rtr7
nslookup 10.130.145.37
nsquery hosts cap1rtr7
nsquery hosts 10.130.145.37

Notice there are two ways to look up information? Always verify that reverse lookup (ie, what is the name for a given IP address) works too. Both methods are used by telnet, ssh, and other communication protocols.

And you have a spelling error in the nsswitch.conf file:

TRAYGAIN=continue
should be:
TRYGAIN=continue


Bill Hassell, sysadmin
amithp
Frequent Advisor

Re: issue with ssh doing wrong name resolution

thanks ganeshan and bill. issue got resolved when in corrected the spelling mistake.

amithp
Frequent Advisor

Re: issue with ssh doing wrong name resolution

thanks