<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Grant wrote:
<blockquote
 cite="mid:49bf44f10709080840k4f64df08r1f3ba9a4e3b4f031@mail.gmail.com"
 type="cite">
  <pre wrap="">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'.  How can I
figure out what is wrong?  I'm a little nervous because I don't want
to shut myself out of this remote server.
  </pre>
</blockquote>
<br>
I had a similar issue after a previous update to ssh when I went to
restart it to get it to use the new binaries.&nbsp; One of the nice features
of sshd is that your current session will say active even if you kill
the sshd daemon process.&nbsp; Of course, if you get disconnected then you
will not be able to log back in, so it's good to do what you need to
quickly if you do need to kill (or if it's really stuck, kill -9) the
process.&nbsp; When I had this problem I issued a `kill -9 PID_NUMBER
&amp;&amp; /etc/init.d/sshd start` - just be <b>sure</b> that you're
killing the /usr/sbin/sshd process and not one of your sshd login forks
at the same time.<br>
<br>
Alex Schuster wrote:<br>
<blockquote type="cite">If you think the upgrade is necessary and don't
want to wait until you or <br>
s.o. else has physical access in case sshd doesn't come up again, you
could <br>
try to restart sshd manually by issuing a "kill -SIGHUP $( pidof sshd
)".</blockquote>
<br>
<br>
I don't recommend doing this as it will also kill your current ssh
session.&nbsp; If for some reason the SIGHUP doesn't take correctly on the
listening daemon you will find yourself locked and kicked out of the
server.&nbsp; Use top or htop to determine the actual PID of the daemon only.<br>
<br>
<pre class="moz-signature" cols="72">-- 
Josh</pre>
</body>
</html>