Fedora Linux Support Community & Resources Center
  #1  
Old 19th February 2008, 10:38 PM
YbotSpawn Offline
Registered User
 
Join Date: Feb 2008
Location: United States
Posts: 29
Windows Administration

Ok, before people scream AHHH WINDOWS... hear me out. I am a System Engineer for a rather large organization. Such organizations have both windows and linux servers. There are a large number of commands I can run on a windows box, to complete tasks that need to be done, but I always have to remote to it, to complete these. Does anyone know of a tool that lets me 'SEND' commands to a windows box and receive the results, with terminal servicing into the thing? An example, but not the rule would be ipconfig or netstat. If I run to run these on 'winserver' how would i do that from like bash, or would it require another program? Thanks!
Reply With Quote
  #2  
Old 21st February 2008, 05:27 AM
YbotSpawn Offline
Registered User
 
Join Date: Feb 2008
Location: United States
Posts: 29
Anyone? bump
Reply With Quote
  #3  
Old 21st February 2008, 07:54 AM
bryancole Offline
Registered User
 
Join Date: Jul 2004
Posts: 414
I've not attempted this, but it should be possible to install SSH (including the daemon) on Windows via cygwin. It looks a little fiddly but should work.

Alternatively, you could learn a little Python and write a python program to run as a service on the Windows box and launch the commands you need following instructions received over xml-rpc (python includes an xml-rpc client/server pacakge making this fairly trivial).
Reply With Quote
  #4  
Old 23rd February 2008, 08:38 AM
krishna.hore Offline
Registered User
 
Join Date: Jan 2008
Posts: 25
Cool Freesshd For you

Download freesshd server from

http://www.freesshd.com/freeSSHd.exe

Install it .. configure it...

Now you have a ssh daemon running on your windows machine,
You could connect to it from linux or another windows machine, and perform netstat, ipconfig or whatever you want...

I use it in my college for reserving a computer in the internet lab, :
Reply With Quote
  #5  
Old 23rd February 2008, 08:41 AM
krishna.hore Offline
Registered User
 
Join Date: Jan 2008
Posts: 25
Arrow He he

I personally use putty on windows

http://the.earth.li/~sgtatham/putty/.../x86/putty.exe

and default ssh command on linux to connect to the server...
Reply With Quote
  #6  
Old 23rd February 2008, 04:43 PM
YbotSpawn Offline
Registered User
 
Join Date: Feb 2008
Location: United States
Posts: 29
I don't want to have to roll out a mass installation to all the windows workstations in my network. Adding any new policies to the Domain pisses off the powers that be. I'm trying cygwin but the rpm didn't install right... i think.... playing with it to get it to work... If not its off to the bookstore for a dummies guide to python
Reply With Quote
  #7  
Old 24th February 2008, 09:54 PM
bryancole Offline
Registered User
 
Join Date: Jul 2004
Posts: 414
This is an interesting topic (for me anyway). As to the python route...I guess you'd need something SSL-encrypted. Python doesn't come with SSL-support built-in. A recipe for a secure python xmlrpc server can be found at http://aspn.activestate.com/ASPN/Coo.../Recipe/496786

I always find dealing with SSL certificates a PITA at the best of times and particularly-so on Windows, so I'd be inclined to use "Pyro", a simple remote object system for python. See http://pyro.sourceforge.net/ . Although this can also use SSL (still a PITA) it can authenticate connections using a neat challenge-response method which means the access-password cannot be sniffed. Thus, if you don't need full encrypted communication, but want to restrict who can connect to your "admin" interface, this is a substantial simplification. If the RPC-server reads it's password from a read-protected file, then changing passwords is as simple as editing the password-file.

For this problem, writing the RPC-server is only part of the solution. To make this easy to deploy on a load of windows hosts you can build you python script into a stand-alone .exe package using "py2exe" (http://www.py2exe.org/index.cgi/Tutorial). This avoids the need to install python on all Windows boxes (although this can be handy...). Finally, it's well worth building this into a self-installing executable using Inno-Setup (http://www.jrsoftware.org/ ) or similar. You can added a script to the installer to do the steps necessary to add the RPC-server as a windows service. There are some instructions on this at
http://agiletesting.blogspot.com/200...s-windows.html


Overall, getting SSH running on windows will probably be less work, but definitely not as fun.
Reply With Quote
  #8  
Old 26th February 2008, 09:40 PM
robert.forster's Avatar
robert.forster Offline
Registered User
 
Join Date: Feb 2008
Location: Newport News, VA
Posts: 128
You could always try Dameware utilities...there are a few things that can be done for this as in registry editing, services, and few other things that is done from a single console. I personally dont need it for servers anymore since I only have one left...which it will go away soon too

But at one time I had all windows boxes and it was a nice tool for having one terminal and all the client and server boxes within the domain listed at your fingers to do as you please.
Reply With Quote
Reply

Tags
administration, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH Administration keatonvictor Using Fedora 1 2nd August 2008 11:29 PM
Administration Cira-San Using Fedora 24 20th November 2007 05:10 PM
Can't Access Administration San Skylak Using Fedora 12 17th April 2006 01:47 AM
Web Administration for Sendmail nocolour Using Fedora 1 25th October 2004 04:49 PM
CVS ADministration + FC2 pixel Using Fedora 1 12th October 2004 12:59 PM


Current GMT-time: 19:55 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat