Gentoo Archives: gentoo-user

From: Mike Williams <mike@××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] sshd won't restart on remote system
Date: Wed, 12 Nov 2008 17:49:48
Message-Id: 200811121749.07765.mike@gaima.co.uk
In Reply to: [gentoo-user] sshd won't restart on remote system by Grant
1 On Wednesday 12 November 2008 17:37:29 Grant wrote:
2 > After updating to the latest stable x86 openssh and merging config
3 > files on my remote system, I get:
4 >
5 > # /etc/init.d/sshd restart
6 > * Stopping sshd ... [ !! ]
7 >
8 > There is nothing in /var/log/sshd/current. Does anyone know what I should
9 > do?
10
11 Sometimes ssh won't restart if it's being used, possible after an openssl
12 update I'm not sure.
13 Try this
14
15 (sleep 5 ; /etc/init.d/sshd restart) &
16
17 then logout, and 5-6 seconds later try to login, if it worked ssh can now be
18 restarted while you're logged in as normal.
19
20 --
21 Mike Williams