Find the answer to your Linux question:
Results 1 to 4 of 4
Hi guys, Is there any command that can be used by Linux that would enable windows machine to shutdown or reboot Linux server. I know about dlink.exe program, but i ...
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    4

    Shutdown Linux from windows

    Hi guys,

    Is there any command that can be used by Linux that would enable windows machine to shutdown or reboot Linux server. I know about dlink.exe program, but i don't want to put third party software on my windows server.

    Thanks

  2. #2
    Trusted Penguin Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,393
    The normal way is to use 'shutdown -h now' or 'shutdown -r now' from a command prompt as the root user.

    Can you log into this machine remotely from the Windwos host using ssh or similar? Maybe you can use VNC or NX to connect to it?
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Just Joined! ultimatelinux's Avatar
    Join Date
    Mar 2010
    Posts
    36
    shutdown -h now >>shutdowns the computer.
    shutdown -r now >>restarts
    shutdown -s now >>sleep
    but,you need to be root user to issue any of the above commands.

  4. #4
    Just Joined! ixil8zyixi's Avatar
    Join Date
    May 2007
    Posts
    4
    I agree with everyone's post these command will help shutdown or reboot your box. There is no extra commands needed to allow a windows box access besides sshd services. Just in case you can use a standalone tool call putty to connect and exec your commands via ssh .

    Goodluck

Posting Permissions

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