sshd and file descriptors
Markus Friedl
markus at openbsd.org
Thu Jun 27 23:57:05 EST 2002
On Thu, Jun 27, 2002 at 10:49:31AM -0300, Andreas Hasenack wrote:
> Em Thu, Jun 27, 2002 at 12:10:57AM -0500, Phil Howard escreveu:
> > On Wed, Jun 26, 2002 at 07:06:13PM -0300, Andreas Hasenack wrote:
> >
> > | I have an openssh RPM package that restarts the sshd server during
> > | an upgrade if the daemon is already running. So far, so good, restart
> > | works.
> >
> > What happens if you were connected via ssh when it restarts?
>
> Only the parent sshd process is restarted, current connections are left
> untouched. I can safely do this remotely.
you could also do
sshd -t && kill -HUP `cat /var/run/sshd.pid`
More information about the openssh-unix-dev
mailing list