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 }
Obviously it’s ssh, not shh
thanks
is it possible for normal user to reboot like :
ssh user1@webserver.nixcraft.net sudo reboot
??
yes. If you of course know the root’s password.
no becaus non user has not permision
only supur user
ok
and are added to sudoers
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
how to remotliy shutdown linux RHEL 5.0 systems
i have only system ip not password