From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IWwKv-0001XR-Ue for garchives@archives.gentoo.org; Sun, 16 Sep 2007 15:47:06 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l8GFcPFT019427; Sun, 16 Sep 2007 15:38:25 GMT Received: from gimli.home.gaima.co.uk (251.67.2.81.in-addr.arpa [81.2.67.251]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l8GFY1Zv015044 for ; Sun, 16 Sep 2007 15:34:01 GMT Received: (qmail 18762 invoked from network); 16 Sep 2007 15:34:00 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 16 Sep 2007 15:34:00 -0000 From: Mike Williams To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] SSH won't restart Date: Sun, 16 Sep 2007 16:33:58 +0100 User-Agent: KMail/1.9.7 References: <49bf44f10709080840k4f64df08r1f3ba9a4e3b4f031@mail.gmail.com> In-Reply-To: <49bf44f10709080840k4f64df08r1f3ba9a4e3b4f031@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200709161634.00032.mike@gaima.co.uk> X-Archives-Salt: 9a2046e8-05fa-4264-92a0-24ffd706b01d X-Archives-Hash: d9545165045e8a9d20430660fd3c0bbb On Saturday 08 September 2007 16:40:34 Grant wrote: > I just upgraded ssh and when I try to restart I get: > > * Stopping sshd ... [ !! ] > > I don't see anything about it in '/var/log/sshd/current'. =A0How can I > figure out what is wrong? =A0I'm a little nervous because I don't want > to shut myself out of this remote server. This thread went on for a long time, which I mostly ignored TBH. However, I think I just found a solution. openssh, in some circumstances (I believe to be openssl changing ABI), will= =20 not restart as you found. It will only not restart when it's being actively= =20 used, so you can't do so will logged in. To restart it when your logged out on a remote server is simply a matter of= =20 doing this: # (sleep 15 && /etc/init.d/sshd restart) & Then getting all ssh sessions logged out within 15 seconds. I've just done this on a remote system and can now happily log back in, and= =20 restart ssh without issue. =2D-=20 Mike Williams -- gentoo-user@gentoo.org mailing list