FreeBSD Security Advisory FreeBSD-SA-03:12.openssh
Matthew Dillon
dillon at apollo.backplane.com
Wed Sep 17 12:36:04 PDT 2003
:[ ... ]
: >> On FreeBSD 5.0 and later, wouldn't it be both simpler and safer to
: >> recommend
: >> # /etc/rc.d/sshd restart
: >> instead?
:
:This can be dangerous if you are ssh'ed in, and the restart kills your
:connection rather than the daemon.
All the restart target does is basically kill the pid using the pid file
and then restart the daemon, so it is no more dangerous then the below.
-Matt
Matthew Dillon
<dillon at backplane.com>
: > Then there would be two sets of instructions, which sucks.
: >
: > I think we'll just not do it quite completely and go with
: >
: > # kill `cat /var/run/sshd.pid`
: > # /usr/sbin/sshd
:
:This is good.
:
:--
:-Chuck
More information about the freebsd-security
mailing list