Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-05-2008, 02:12 AM   #1
LQ Newbie
Registered: Mar 2008
Posts: 1

Rep: Reputation: 0
Post how to shutdown group of linux systems remotely from windows

kindly help how to shutdown group of linux systems or restart the linux systems remotely from windows.

There are totally 70 linux workstations are present for students purpose. I am working in vit university. Daily there is no schedule time to close. it varies. all the systems are static ip only with continuous range. individually shutdown takes more time. so, use of script or any tool shutdown all 70 clinents immediately from remotely.
kindly help.

Last edited by srini_rathika; 03-06-2008 at 10:39 PM. Reason: How these computers networked
Old 03-05-2008, 04:04 AM   #2
Senior Member
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
One technically feasible way to go about it would be to create a script on a particular host, and make sure all of the other hosts had the primary host's ssh key in their authorized_hosts files -- a simple foreach loop could iterate through your serverlist issuing the 'shutdown -h now' command from root.

However, a) having root be able to SSH in is a very bad idea, b) it's a rather complex set up that is far more confusing to debug if something should fail than other solutions, yet c) it's a good way to learn quite a bit about the various elements that would have to interact for such a script to happen. Oh, this all assumes you log in via putty (or some other measure of CLI) to the first host to issue said command.

The more specifics (how are these computers networked? Do they need to go down with any particular regularity, on a schedule, or randomly? et cetera) you give, the better and more narrowly-defined (to your situation) answers we can provide.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
shutdown server remotely micro_xii Linux - Newbie 4 12-07-2006 07:51 AM
Remotely Shutdown Debian Box from Windows. umatur Debian 11 07-26-2006 07:59 AM
how to shutdown,restart and log off windows machine remotely through a linux machine deepak rawat Fedora 1 05-23-2006 02:25 AM
LXer: Argus Systems Group Announces an MLS Linux Kernel LXer Syndicated Linux News 0 04-25-2006 07:03 PM
Linux remotely through Windows surban99 Linux - Newbie 14 05-04-2004 07:56 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration