[Bug 251620] Re: openssh-server is unable to receive connections on some ports

2008-07-25 Thread liorda
Oops...

It turned out that my regular user (not root) started sshd with that
port number. and since only root allowed to open "high" ports, the
connection got terminated.

1. why did sshd / ubuntu allowed the regular user to even start the service, 
when it's clear no connections will be received?
2. can't the second sshd instance detect such a port collision, and warn about 
it?

mcas, thanks for helping.

** Changed in: openssh (Ubuntu)
   Status: Incomplete => Invalid

-- 
openssh-server is unable to receive connections on some ports
https://bugs.launchpad.net/bugs/251620
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 251620] [NEW] openssh-server is unable to receive connections on some ports

2008-07-24 Thread liorda
Public bug reported:

very strange problem (bug). when trying to set the listening port for
ssh to 22184 i get:

$ ssh localhost -p 22184
Read from socket failed: Connection reset by peer

but when setting the listening port (on /etc/ssh/sshd_config, of course)
to some other ports (2, 22, 23, 22186) and restarting the service, i
can connect without a problem.

no firewall is installed.

can someone please confirm this behavior?

thanks

** Affects: openssh (Ubuntu)
 Importance: Undecided
 Status: New

-- 
openssh-server is unable to receive connections on some ports
https://bugs.launchpad.net/bugs/251620
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 251620] Re: openssh-server is unable to receive connections on some ports

2008-07-24 Thread liorda
running updated hardy, without any special hacks. and i only set one listening 
port at a time:
- edit config file and changing the Port directive: "Port 22" / "Port 22184" / 
etc.
- sudo /etc/init.d/ssh restart
- ssh localhost -p 

-- 
openssh-server is unable to receive connections on some ports
https://bugs.launchpad.net/bugs/251620
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs