English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

The one who answer this question correctly will get five stars hohohoooooooo

2007-03-07 21:37:36 · 3 answers · asked by nfs121 1 in Computers & Internet Programming & Design

3 answers

Short version:
Use ssh to get to a shell prompt on the Linux machine. Use reboot or shutdown -r now to reboot the system.

You can log in remotely to most Linux machines using "ssh" ("telnet" having been abandoned because it sends the userid / password and entire session unencrypted for people to see easily). At the command prompt, you can use "sudo" to run the "reboot" command, assuming your userid has permission to use sudo. If not, you can use "su" to become the root user if you know the password. If "reboot" isn't there (most distributions have it), try "shutdown -r now" to reboot.

2007-03-08 04:14:00 · answer #1 · answered by Anonymous · 0 0

SSH into the remote machine, gain superuser privileges, and type reboot.

Generally:
ssh myuser@remotecomputer.net
Password: ******
su root
Password: ******
reboot

The real question is, why would you restart it? Linux boxes don't go down. ;)

2007-03-11 16:50:47 · answer #2 · answered by Marc E 2 · 0 0

from the shell line its

reboot -r now

or replace now with however many minutes to reboot.

2007-03-08 18:54:41 · answer #3 · answered by Tracy L 7 · 0 0

fedest.com, questions and answers