How to restart SSH (restarting SSHD) remotely?
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
Didn't find what you were looking for? Try these links:
"The only way of finding the limits of the possible is by going beyond them into the impossible." -
Arthur C. Clarke
Vik
5 Jul, 2008
Thanks, you saved me an hour today.
V
W
13 Aug, 2008
Just added this to my unix help.txt cheers m8 also hour saved
admin
13 Aug, 2008
Glad it was helpful to you!