[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Shell connections refused



Hi there everyone. I don't know if this is a debian specific issue, or a
network issue, but I'm experiencing a strange problem connecting from
one machine to another. Here's what happens:

D1 (10.20.0.1), and D2 (10.20.0.2) are both synched to potato on
debian.org. Both machines have telnetd, telnet, ssh, and sshd available
or running. Here's a sample session from D1:

---------------------------------
$ ping 10.20.0.2 
PING 10.20.0.2 (10.20.0.2): 56 data bytes 
64 bytes from 10.20.0.2: icmp_seq=0 ttl=64 time=0.6 ms 
64 bytes from 10.20.0.2: icmp_seq=1 ttl=64 time=0.3 ms
64 bytes from 10.20.0.2: icmp_seq=2 ttl=64 time=0.3 ms 
64 bytes from 10.20.0.2: icmp_seq=3 ttl=64 time=0.3 ms

--- 10.20.0.2 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 0.3/0.3/0.6 ms

$ telnet 170.1.36.137
Trying 170.1.36.137...
Connected to 170.1.36.137.
Escape character is '^]'.
Connection closed by foreign host.

$ ssh 170.1.36.137
Connection closed by foreign host.
---------------------------------


Here's what happens from D2:

---------------------------------
$ ping 10.20.0.1 PING 10.20.0.1 (10.20.0.1): 56 data bytes 
64 bytes from 10.20.0.1: icmp_seq=0 ttl=64 time=0.6 ms 
64 bytes from 10.20.0.1: icmp_seq=1 ttl=64 time=0.3 ms 
64 bytes from 10.20.0.1: icmp_seq=2 ttl=64 time=0.3 ms 
64 bytes from 10.20.0.1: icmp_seq=3 ttl=64 time=0.3 ms

--- 10.20.0.1 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 0.3/0.3/0.6 ms

$ telnet 10.20.0.1
Connected to 10.20.0.1.
Escape character is '^]'.
Debian GNU/Linux 2.2 (frozen) kona
kona login: 

$ ssh 10.20.0.1
scribe:/home/aaron# ssh -l aaron 10.20.0.1
aaron@10.20.0.1's password: 
---------------------------------


How on earth could this happen? Anyone know why one of the machines
would blatently refuse connections, but the other wouldn't? For
reference, the IP addresses were modified in the logs. I was connected
via ssh to D2 from a local windows box in order to get the output for
the connections to D1. Both machines are inside the same firewall, there
is no actual NAT going on, and I don't have easy console access to D2.
Any clues, or methods for troubleshooting would be appreciated.

Thanks


Reply to: