Redhat 8.0 -ssh problem - reposted

Nilkanth unix_script at yahoo.com
Tue Apr 20 00:14:48 UTC 2004


Guys:
 
I want to run ssh on my two servers named node1 and node2. I've verified both servers are running sshd ( ps; also tried to stop/start ssh). I can run ssh, scp...from node2 to node1. But, some reasons, I can not run ssh..from node1 to node2. I'm getting following error. ..
 
ssh: connect to address 192.168.0.71 port 22: No route to host
 
Please help...
Thanks,
 
[root at node1]# ssh node2
ssh: connect to address 192.168.0.71 port 22: No route to host
Node 1  Informatino....
 
[root at node1]# netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags 
MSS Window  irtt Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     
  40 0          0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     
  40 0          0 lo
0.0.0.0         192.168.0.4     0.0.0.0         UG    
  40 0          0 eth0
[root at node1]# netstat -a |more
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign
Address         State
tcp        0      0 *:32768                 *:*       
             LISTEN
tcp        0      0 samba:32769             *:*       
             LISTEN
tcp        0      0 *:printer               *:*       
             LISTEN
tcp        0      0 *:netbios-ssn           *:*       
             LISTEN
tcp        0      0 *:sunrpc                *:*       
             LISTEN
tcp        0      0 *:x11                   *:*       
             LISTEN
tcp        0      0 *:ssh                   *:*       
             LISTEN
tcp        0      0 samba:smtp              *:*       
             LISTEN
tcp        0      0 samba:x11-ssh-offset    *:*       
             LISTEN
 
ssh works fine from Node2 to Node1. Here are node2 information......
 
[root at node2]# netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags 
MSS Window  irtt Iface
192.168.0.0     0.0.0.0         255.255.255.0   U     
  40 0          0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     
  40 0          0 lo
0.0.0.0         192.168.0.4     0.0.0.0         UG    
  40 0          0 eth0
[root at node2]# netstat -a |more
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign
Address         State
tcp        0      0 *:32768                 *:*       
             LISTEN
tcp        0      0 smabaBDC:32769          *:*       
             LISTEN
tcp        0      0 *:netbios-ssn           *:*       
             LISTEN
tcp        0      0 *:sunrpc                *:*       
             LISTEN
tcp        0      0 *:x11                   *:*       
             LISTEN
tcp        0      0 *:ssh                   *:*       
             LISTEN
tcp        0      0 smabaBDC:smtp           *:*       
             LISTEN
tcp        0      0 192.168.0.72:32928      samba:ssh 
             ESTABLISHED
 

		
---------------------------------
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/redhat-list/attachments/20040419/bf1dc559/attachment.htm>


More information about the redhat-list mailing list