Operating System - HP-UX
1748195 Members
4824 Online
108759 Solutions
New Discussion

My two servers not connected to SSH

 
aamir4u
Regular Advisor

My two servers not connected to SSH

Hi,

 

My two servers not connected to SSH (its ping each other)

When i try ssh 192.168.10.56

its not responding.(its long time wait)

 

what is a cause.how can connect to server via ssh.

 

Thanks

Thanks
aamir uddin
5 REPLIES 5
Patrick Wallek
Honored Contributor

Re: My two servers not connected to SSH

Is SSH running on the 192.168.10.56 server?

 

What happens if you try 'ssh -vvv 192.168.10.56'?

Jim_Walls
Occasional Advisor

Re: My two servers not connected to SSH

Typically, a connection attemp wil only timeout if there is something blocking the connection - or possibly a routing issue - if the sshd is not running in the server the client will usually get an immediate "connection refused" error.

 

Is there a firewall between the client and the server?  Ensure Port 22 is allowed through the firewall.  Is possible that pings - and other connection protocols - are alloed but not ssh.

 

 

aamir4u
Regular Advisor

Re: My two servers not connected to SSH

Hello,

 

ssh -vvv 192.168.10.53

 OpenSSH_5.0p1+sftpfilecontrol-v1.2-hpn13v1,

 OpenSSL 0.9.7m 23 Feb 2007 HP-UX Secure Shell-A.05.00.023, HP-UX Secure Shell version debug1: Reading configuration data /opt/ssh/etc/ssh_config debug3: RNG is ready, skipping seeding debug2: ssh_connect: needpriv 0 debug1:

 Connecting to 192.168.10.53 [192.168.10.53] port 22.

 

when i try to ping

192.168.10.56

it sresponse to another ip address

 

ping 192.168.10.53 PING 192.168.10.53: 64 byte packets

64 bytes from 192.168.5.5: icmp_seq=0. time=0. ms

64 bytes from 192.168.5.5: icmp_seq=1. time=0. ms

 

when i try to connect to server via (PUTTY)  192.168.10.53  (its connected)

 

its not ping to 192.168.10.53 its redirect to another ip 192.168.5.5

when i try to ssh 192.168.5.5 or uatapp2(server name) its connected

 

what is a problem.I am not understand.

putty connected to 192.168.10.56 and ping and ssh work on to another ip(redirection) 192.168.5.5

 

 

please suggest me some ideas.THANKS

 

 

Thanks
aamir uddin
Matti_Kurkela
Honored Contributor

Re: My two servers not connected to SSH

From your earlier threads, I think your uatapp2 is a cluster node, and I think it has 2 or more physical NICs.

 

This document might be very helpful:

http://mayoxide.com/presentations/Understanding_hpux_routing.pdf

 

It explains how HP-UX decides which IP address to use when it has multiple NICs and/or IP addresses available. It also describes some common problems and things you can do to solve them.

 

It is only 20 pages: I recommend you read all of it.

MK
aamir4u
Regular Advisor

Re: My two servers not connected to SSH

Thanks,

 

This is very useful.

Thanks
aamir uddin