How Do I Remotely Reboot Linux System?

by Vivek Gite · 8 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

{ 8 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

5 Anonymous June 29, 2010 at 1:07 pm

no becaus non user has not permision
only supur user
ok

Reply

6 billy April 22, 2010 at 9:50 pm

and are added to sudoers :-P

Reply

7 std May 25, 2010 at 5:59 am

just tell me how to login in ssh with ip and root password, i am using putty for login but when http is down not able to login, and other end ip is ping fine.

pls tell me how i can reboot server myself..

Regards.
Yousaf

Reply

8 Narendra June 29, 2010 at 1:09 pm

how to remotliy shutdown linux RHEL 5.0 systems
i have only system ip not password

Reply

Previous post:

Next post: