I use network manager with sshd regularly on intrepid/jaunty. If you
want to do the workaround to restart sshd you can add a script into
/etc/NetworkManager/dispatcher.d/ that does that.
** Changed in: network-manager (Ubuntu)
Status: New => Won't Fix
--
sshd doesn't start properly becaus
A nice work-around is to restart sshd each time NM changes addresses
and/or network interfaces, using NM dispatcher:
echo /etc/init.d/ssh restart > /etc/NetworkManager/dispatcher.d/10ssh
chmod 755 /etc/NetworkManager/dispatcher.d/10ssh
This was inspired from http://www.mail-archive.com/networkman
Another workaround is to set in sshd_config to
ListenAddress 0.0.0.0
--
sshd doesn't start properly because dhcp client doesn't get ip address
https://bugs.launchpad.net/bugs/241796
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ub
related to bug 267929
** Changed in: network-manager (Ubuntu)
Sourcepackagename: openssh => network-manager
** Summary changed:
- sshd doesn't start properly
+ sshd doesn't start properly because dhcp client doesn't get ip address
** Tags added: dhcp network network-manager settings sshd
--
I reopen the bug. The bug against installer is not so important.
I make clean installation of U8.10 and could somebody from the openssh
or network-manager teams can explain who decided that sshd should start
before dhcp client finish (and actually start) process of retrieving ip
address?
relevant
** Changed in: openssh (Ubuntu)
Status: Incomplete => Invalid
--
sshd doesn't start properly
https://bugs.launchpad.net/bugs/241796
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubu
Please feel free to close the bug. I created another bug report against
installer (bug 267929).
--
sshd doesn't start properly
https://bugs.launchpad.net/bugs/241796
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing
I wrote a patch for /etc/init.d/ssh which make scrpit waiting for a eth0
interface:
#My patch
check_for_eth() {
eth=0
while [ $eth -eq 0 ]
do
if [ `ifconfig | grep -c addr:192.168.1.66` -eq 0 ]
then
sleep 10
else
eth=1
Few more lines from
/var/log/syslog:
Jul 22 21:35:10 madryt NetworkManager: Activation (eth0) Beginning DHCP
transaction.
Jul 22 21:35:10 madryt NetworkManager: Activation (eth0) Stage 3 of 5
(IP Configure Start) complete.
Jul 22 21:35:10 madryt NetworkManager: DHCP daemon state is now
I change loglevel of sshd, restart the machine and I think I've got him!
The problem is start sequence, the sshd starts before dhcp finishes
procedure of getting IP address from router (the standard BT broadband
router).
Please compare following lines from
/var/log/auth:
Jul 22 21:35:05 madryt
The sshd is working fine now.
I've change few things.
First I figured out that I can connect to localhost by not to madryt
Next I've changed order of ListenAddress in /etc/ssh/sshd_config
ListenAddress 192.168.1.66
ListenAddress 127.0.0.1
After some times I understood that ssh complains about
[EMAIL PROTECTED]:~$apt-cache policy openssh-server
openssh-server:
Installed: 1:4.7p1-8ubuntu1.2
Candidate: 1:4.7p1-8ubuntu1.2
Version table:
*** 1:4.7p1-8ubuntu1.2 0
500 http://gb.archive.ubuntu.com hardy-updates/main Packages
500 http://security.ubuntu.com hardy-security/m
Thank you for reporting this bug. Please add your ubuntu version and the
output of apt-cache policy openssh-server.
** Changed in: openssh (Ubuntu)
Status: New => Incomplete
--
sshd doesn't start properly
https://bugs.launchpad.net/bugs/241796
You received this bug notification because yo
13 matches
Mail list logo