"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

4 Responses to “How to restart SSH (restarting SSHD) remotely?”

  1. […] Don’t forget to restart the server. […]

    The Zoltan Blog » Add users in ‘AllowUsers’ of SSH for SSH access

  2. Thanks, you saved me an hour today.
    V

    Vik

  3. Just added this to my unix help.txt cheers m8 also hour saved

    W

  4. Glad it was helpful to you!

    admin

Leave a Reply