LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-17-2007, 10:18 AM   #1
azedek
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Rep: Reputation: 0
How do I restart a windows PC from my Debian server?


Hello,

I've a slightly difficult question. I didn't know how to go about doing it, and I've done my share of googling it, but I haven't come close to solving it.

I have a Debian 3.1 server which I use to admin my webserver. It is located in my company. I have a windows server also in the same network at the same location. The servers can see each other via pings.

I have a requirement to reboot the windows server when it hangs our payment application. If I'm at the location I can just remote desktop into the windows server and reboot it. But if I'm away and on the road, I can't do that.

I came across a wonderful mobile ssh client, Midpssh, and I use it extensively to admin my Debian box when I'm on the road. I was hoping that someone could point me in the right direction on how to reboot the windows server form this Debian box.

I did come across Fadly Tabrani's script on aspn dot activestate dot com, but I didn't know firstly, how to use it, and secondly, if it would work on my linux server. Any help would be highly appreciated.

Thank you all in advance.
 
Old 12-17-2007, 11:32 AM   #2
tagno25
Member
 
Registered: Jun 2007
Posts: 53

Rep: Reputation: 15
install cygwin on the windows box

when you chose what to install in cygwin chose sshd (openssh server?) and reboot (possibly default)
then you can ssh in to it and run reboot, IIRC
 
Old 12-17-2007, 12:28 PM   #3
azedek
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Original Poster
Rep: Reputation: 0
No option of installing software

Thank you for responding, and yes, it's a great solution. But, I can't install any software on the windows servers. Sorry.
 
Old 12-17-2007, 01:42 PM   #4
huwnet
Member
 
Registered: Jan 2006
Location: England
Distribution: Arch
Posts: 119

Rep: Reputation: Disabled
A search for samba windows shutdown showed that it may be possible to use the linux samba tools to remote shutdown a windows box.
 
  


Reply


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
Windows Patch Services using Debian a Server aztek Debian 5 06-27-2007 06:44 PM
Running VMware Server on Windows XP, Guest OS is Debian. Problems! PiLLeN Linux - General 1 09-04-2006 07:58 PM
Running VMware Server on Windows XP, Guest OS is Debian. Problems! PiLLeN General 1 09-04-2006 05:10 PM
Using Samba on Debian v3.1 (Sarge) to join Windows Server 2003 domain? g_srinivas Linux - Newbie 3 02-16-2006 06:55 PM
After an SSH connection with my Debian Server, My windows PC become isolated!!! jimesh Linux - Networking 2 09-08-2004 09:04 AM


All times are GMT -5. The time now is 12:41 AM.

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