You can use secure shell (ssh), a network protocol for remote administration of Linux and Unix based computers. SSH is typically used to log into a remote server and execute commands such as reboot or shutdown.
PuTTY SSH Client
PuTTY is a free and open source terminal emulator application which can act as a client for the SSH under MS-Windows operating system. Visit this page and download putty client. In order to use putty you need to know:- IP or Server Name: The name of the Linux or UNIX server you want to connect to.
- Username and password: Login name or password to used on your server.
Once connected you need to login as root using sudo or su - command. Type the following command to shutdown remote system:
# shutdown -h now
OR
# /sbin/shutdown -h now
To reboot the system, enter:
# shutdown -r now
OR
# /sbin/reboot
A typical login session - PuTTY running on Windows, logged in to a DD-WRT Linux based Internet router system:
No comments:
Post a Comment