vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi all! I am K.Sreenath newly joined in this group. I need a help from you. Will you please tell me how can I reboot a LINUX PC remotely. I should have one machine on which script will be running and that script should telnet to other PC and reboot that. After rebooting PC I have to login to that PC and check for some configuration in that PC. Kindly send your valuble suggestions to srinathk@intotoinc.com |
| |||
| Sreenath K <srinathk@intotoinc.com> wrote: > Will you please tell me how can I reboot a LINUX PC remotely. If you have root access, just use reboot. Of course the machine must be able to reboot without human intervention. Most machine have a special 'reboot' user that does exactly that, it just reboot machine as soon as he login. Davide -- | What about the four lusers of the apocalypse? I nominate: | "advertising", "can't log in", "power switch" and "what backup?" | --Alistair Young |
| ||||
| I thing you want to run ssh root@yourmachine reboot remember that you nead a ssh deamon running on 'yourmachine'. ssh is part of nearly every Distribution. After reboot you can lockin via ssh user@yourmachine Of course you can do this with telnet, too. I guess, the command is something like: echo -e "user\npasswort\nreboot" | telnet yourmachine ('\n' is the escapecommand for a new line) But ssh or rsh is much nicer in usage. And ssh is secure. I hope, i could help. Patrick On Wed, 07 Jan 2004 08:17:30 -0800, Sreenath K wrote: > Hi all! > I am K.Sreenath newly joined in this group. I need a help from > you. Will you please tell me how can I reboot a LINUX PC remotely. I > should have one machine on which script will be running and that > script should telnet to other PC and reboot that. After rebooting PC I > have to login to that PC and check for some configuration in that PC. > > Kindly send your valuble suggestions to srinathk@intotoinc.com |