How Do I Remotely Reboot Linux System?

by admin on September 27, 2005 · 10 comments

in Tip that matters

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

{ 10 comments… read them below or add one }

1 Art October 15, 2008 at 2:03 am

Obviously it’s ssh, not shh

2 nc November 5, 2008 at 3:30 am

thanks

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
??

4 Anonymous February 4, 2010 at 3:02 am

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

5 billy April 22, 2010 at 9:50 pm

and are added to sudoers :-P

6 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

7 Anonymous June 29, 2010 at 1:07 pm

no becaus non user has not permision
only supur user
ok

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

9 hany February 6, 2011 at 9:03 am

how to restart remotely a hanged up linux server

i tried ssh root@servername, but with no reply..?

10 victoria February 6, 2014 at 11:06 pm

How do I get the GNU GRUB box off my computer??? Everytime I turn on my computer it comes up and I can’t enter ny system at all. Can someone please assist me.

Previous post:

Next post: