[Bug 772990] Re: Ubuntu Server 10.04.2 - sshd not accept connection over ethernet only on loopback

dennis 772990 at bugs.launchpad.net
Fri Apr 29 07:20:27 UTC 2011


Kernel 2.6.32-28

Openssh version 5.3p1-3ubuntu5

# netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN     
tcp6       0      0 :::22                   :::*                    LISTEN     
udp        0      0 0.0.0.0:68              0.0.0.0:*                          
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node   Path
unix  6      [ ]         DGRAM                    3330     /dev/log
unix  2      [ ACC ]     STREAM     LISTENING     2511     @/com/ubuntu/upstart
unix  2      [ ]         DGRAM                    2629     @/org/kernel/udev/udevd
unix  2      [ ]         DGRAM                    4331     
unix  2      [ ]         DGRAM                    4160     
unix  2      [ ]         DGRAM                    3680     
unix  2      [ ]         DGRAM                    3403     
unix  3      [ ]         DGRAM                    2663     
unix  3      [ ]         DGRAM                    2662     
unix  3      [ ]         STREAM     CONNECTED     2602     @/com/ubuntu/upstart
unix  3      [ ]         STREAM     CONNECTED     2601     


$ ssh <ipaddress>
ssh: connect to host <ipaddress> port 22: Connection refused

$ ssh locahost

the login works

# iptables --list

Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         


# ps -ef | grep ssh

root      1198     1  0 09:00 ?        00:00:00 /usr/sbin/sshd


If i run the sshd in debug mode

# /usr/sbin/sshd -d

i dont see any action if i try  ssh <ipaddress>
only if i try ssh localhost

i tryed wit disabled ipv6 too, the same problem

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/772990

Title:
  Ubuntu Server 10.04.2 - sshd not accept connection over ethernet only
  on loopback



More information about the Ubuntu-server-bugs mailing list