How Do I Remotely Reboot Linux System?

by Vivek Gite · 4 comments

A remote Linux / UNIX server can be rebooted using following methods:

A) Login to remote server using ssh as root user and use any one of the following syntax:

ssh root@remote-server-ip

OR

ssh root@remote-server-name

When prompted for password please supply remote server root password.

B) Type reboot command as follows:

reboot

You can also save time using the following reboot command over ssh session:
ssh root@202.54.10.20 reboot
ssh root@webserver.nixcraft.net reboot

{ 4 comments… read them below or add one }

1 Art October 15, 2008 at 2:03 am

Obviously it’s ssh, not shh

Reply

2 nc November 5, 2008 at 3:30 am

thanks

Reply

3 kashyap June 24, 2009 at 3:38 am

is it possible for normal user to reboot like :
ssh user1@webserver.nixcraft.net sudo reboot
??

Reply

4 Anonymous February 4, 2010 at 3:02 am

yes. If you of course know the root’s password.

Reply

Previous post:

Next post: