shutdown server remotely
Greetings:
Im using SSH to login to another server. My questions are: What commands to restart or shutdown a server remotely? What are other commands regarding/relating to remote administration? Can anyone give me best articles regarding this. thanks:study: |
ssh into the remote host and use "poweroff" or "reboot".
|
or halt...
or init 0 or init 6 for reboot but not sure about that one Do you know what is ssh? |
(as root or sudo)
Code:
shutdown -h now Code:
shutdown -r now I expect reboot (which most distros have) is just a script that executes the above command. Check the man pages if you want to schedule it for different times etc. As for remote admin commands well... SSH is a Secure SHell, meaning you can do anything in that shell that you can locally. you could use webmin to setup things via a browser etc. it all depends on what you want to do |
Quote:
Good readings: linux newbie admin guide rute guide (see LQ bookmarks) |
All times are GMT -5. The time now is 04:48 AM. |