PuTTY to HP-UX using hostname works, using IP address fails (663 Views)
Reply
Occasional Advisor
HPUX-newbie
Posts: 11
Registered: ‎06-09-2012
Message 1 of 4 (663 Views)

PuTTY to HP-UX using hostname works, using IP address fails

This is REALLY odd.  I'm new to HP-UX and just installed SSH on 11i V2 server.  I can SSH using PuTTY as long as I use the hostname.  If I try to use the IP address, I get a Connection Refused.

 

Any ideas?  Thanks!

Honored Contributor
Steven Schweda
Posts: 9,088
Registered: ‎02-23-2005
Message 2 of 4 (658 Views)

Re: PuTTY to HP-UX using hostname works, using IP address fails

HP Pro
Rajesh K Chaurasia
Posts: 76
Registered: ‎01-31-2008
Message 3 of 4 (612 Views)

Re: PuTTY to HP-UX using hostname works, using IP address fails

Putty/ssh work fine with host name or IP address. In your case hostname is probably not resolving to the IP address you are using. Run nslookup to check IP address the hostname is resolving to and use that IP address for connection.

 

Regards

-Rajesh

Occasional Advisor
HPUX-newbie
Posts: 11
Registered: ‎06-09-2012
Message 4 of 4 (606 Views)

Re: PuTTY to HP-UX using hostname works, using IP address fails


Rajesh K Chaurasia wrote:

Putty/ssh work fine with host name or IP address. In your case hostname is probably not resolving to the IP address you are using. Run nslookup to check IP address the hostname is resolving to and use that IP address for connection.

 

Thanks Rajesh for the non-sarcastic reply!  I was pulling my hair out (if I had any) as this simply didn't make sense.  Ultimately it came down to DNS, cache, and a bit of stupidity.  Although I'll claim exhaustion after hours upon hours of working through other issues when this came up.

Anyway, now I'm back to trying to get SSH working on 11i V1.


Thanks!  Cheers...

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.