Re: SSH Session administrating

From: Nico Kadel-Garcia (nkadel_at_verizon.net)
Date: 09/06/03


Date: Sat, 06 Sep 2003 00:23:09 GMT

Thomas Binder wrote:

> Hi!
>
> Marmos <Marmos@gmx.ch> wrote:
>
>>I wonder how the administrator should know if it is ok to
>>restart the server or if he is just going to interrupt some
>>important filetransfer.
>
>
> At least with OpenSSH's sshd, established sessions will stay alive
> whenn you kill or restart the master sshd. And I don't think that
> other sshds handle this differently.

This trick *usually* works just fine. If, however, you have just
replaced your sshd and restarted the daemon, I've had fascinating
problems with the ssh client used to do the work refusing to exit
gracefully. I'm not sure why this happened, but I've had to handcraft a
tool to do the ssh command to do the remote installation, restart the
daemon, then slap the ssh connection in the head to close it and keep it
from never exiting.



Relevant Pages

  • ssh_exchange_identification error
    ... I've worked with SSH for a lot of years, ... I'm responsible for administering a remote system 3,000 miles distant. ... I've had someone restart the daemon on the remote system (/etc/init.d/sshd ...
    (SSH)
  • Re: SSH Session administrating
    ... >>problems with the ssh client used to do the work refusing to exit ... >>tool to do the ssh command to do the remote installation, ... >>daemon, then slap the ssh connection in the head to close it and keep it ... other init scripts use to restart the SSH daemon. ...
    (comp.security.ssh)
  • Re: takes forever to ssh from one host to another, sometimes
    ... > igor> i'll tell you the truth, as one igor to another:), i just ... > igor> command and no restart was necessary. ... > see a difference unless you're managing sshd via inetd. ... ssh is very fast, ...
    (comp.security.ssh)
  • Re: ssh stopped working
    ... > unable to locally or remotely connect using ssh clients. ... Perhaps the restart of your machine was what was the cause: ... See if sshd is really listening there: ...
    (Debian-User)
  • Re: SSH Session administrating
    ... >> whenn you kill or restart the master sshd. ... > tool to do the ssh command to do the remote installation, ...
    (comp.security.ssh)

Quantcast