There are a few different ways to restart SSHD remotely.
You will need root access in order to do this.
1) /etc/init.d/sshd restart
2) kill `cat /var/run/sshd.pid` && /usr/sbin/sshd
"The only way of finding the limits of the possible is by going beyond them into the impossible." -
Arthur C. Clarke
There are a few different ways to restart SSHD remotely.
You will need root access in order to do this.
1) /etc/init.d/sshd restart
2) kill `cat /var/run/sshd.pid` && /usr/sbin/sshd
[…] Don’t forget to restart the server. […]
The Zoltan Blog » Add users in ‘AllowUsers’ of SSH for SSH access
May 26th, 2008
Thanks, you saved me an hour today.
V
Vik
July 5th, 2008
Just added this to my unix help.txt cheers m8 also hour saved
W
August 13th, 2008
Glad it was helpful to you!
admin
August 13th, 2008