[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Restart SSH Remotely?
kill -HUP `cat /var/run/sshd.pid`
On Tue, 25 Jun 2002, Randall Gellens wrote:
> This is probably one of those "Duh!" questions, but here goes: I've
> installed OpenSSH 3.3, and now want to stop the old sshd and start
> the new one. I'm not physically at the machine, though. Since I'm
> connected through ssh, if I kill the current sshd, will the current
> sshd child processes also be killed? (If so, I won't be able to run
> the new sshd!) Or will be connection still be OK?
>
> Also, I have this other question:
>
> At 3:00 PM -0600 6/24/02, Theo de Raadt wrote:
> > However, everyone should update to OpenSSH 3.3 immediately, and enable
> > priv seperation in their ssh daemons, by setting this in your
> > /etc/ssh/sshd_config file:
>
> The updated sshd_config file included with OpenSSH 3.3 has
> "#UsePrivilegeSeparation yes", which to me means that
> UsePrivilegeSeparation is on by default. So there isn't any point in
> setting it in the sshd.confif file, is there?
>
> Please cc me on any replies. Thanks!