Restart Linux server using SSH in any hosting plan with root access
If you have a web hosting plan which allows you to restart your linux server. (Most likely you have dedicated server or VPS hosting), you can follow the instruction below to restart your server.

smallwei 3:14 pm on November 22, 2009
If you are using Windows, you can download PuTTY SSH Client: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
1) Once you open PuTTY, type the IP address of your server in the Hostname/IP address field.
2) Assume your SSH is running on port 22 so you can leave the default port there.
3) You will then be prompted for a user/pass. Although not recommended, I’m assuming your system allows root logins so type “root” for the user and enter the password. Nothing will appear when you type a password.
4) You should now be dropped into the system and you can type “reboot”
If you are using Mac OS X, find the “terminal” program and type “ssh -l root ipaddress” and enter your password. Then just type “reboot”