Professional Web Applications Themes

Rebooting and logging into Linux machine from a remote machine. - Linux Setup, Configuration & Administration

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 com...

  1. #1

    Default Rebooting and logging into Linux machine from a remote machine.

    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 com
    Sreenath Guest

  2. #2

    Default Re: Rebooting and logging into Linux machine from a remote machine.

    Sreenath K <com> wrote: 

    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
    Davide Guest

  3. #3

    Default Re: Rebooting and logging into Linux machine from a remote machine.

    I thing you want to run

    ssh rootyourmachine 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 useryourmachine

    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:
     

    Patrick Guest

Similar Threads

  1. filecopy from remote machine to local machine
    By anu in forum PERL Modules
    Replies: 5
    Last Post: February 8th, 03:49 PM
  2. Replies: 2
    Last Post: June 17th, 12:08 AM
  3. Setting folder permissions on remote machine / remote domain
    By Tim Chandler in forum ASP.NET Security
    Replies: 0
    Last Post: October 7th, 04:17 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139