[Bug 216847] Re: sshd will not start at boot if ListenAddress is set, because network interface is not yet up
Dirk Schuster
dirk.schuster at web.de
Fri Nov 1 18:11:35 UTC 2013
same problem with package openssh-server of Ubuntu 13.10 (Saucy)
error messages in /var/log/auth.log after boot process:
Nov 1 17:31:46 pc sshd[1209]: error: Bind to port xxx on yyy.yyy.y.y failed: Cannot assign requested address.
Nov 1 17:31:46 pc sshd[1209]: fatal: Cannot bind any address.
reason:
/etc/ssh/sshd_config uses ListenAddress option
solution:
in /etc/init/ssh.conf
change line
start on runlevel [2345]
to
start on runlevel [2345] and net-device-up IFACE!=lo
message in /var/log/auth.log after boot process now:
Nov 1 17:39:20 pc sshd[1518]: Server listening on yyy.yyy.y.y port xxx.
What needs to be done, so that the solution will get into the package? Could anybody help?
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/216847
Title:
sshd will not start at boot if ListenAddress is set, because network
interface is not yet up
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/216847/+subscriptions
More information about the Ubuntu-server-bugs
mailing list