LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-04-2007, 12:51 PM   #1
humbletech99
Member
 
Registered: Jun 2005
Posts: 374

Rep: Reputation: 30
Open a CMD on a remote Windows box from Linux?


Does anyone know if it's possible to get a remote cmd on a windows machine(s) from linux?

The only thing I can think of is installing ssh on the remote windows box. In which case can anyone recommend the best ssh implementation on Windows? I've used the openssh port before but it seems a little imperfect and dated and does not integrate that seemlessly.

Ideally I'd like to find some native way of getting the remote cmd on windows, similar to what psexec allows you to do from another windows box. I'd rather install one thing on my linux workstation than something on every single windows box I administer.

Are there any native interoperability tools from Linux to Windows in this type of thing?
 
Old 12-05-2007, 05:57 AM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
I don't mean to seem dismissive, but this is a question about Windows, not about Linux. I assume there are implementations of many of the same protocols that you can use on Linux, like a telnet daemons, ssh daemons, remote desktop etc, but I have no idea which implementations are good or bad (or even exist).
 
Old 12-05-2007, 07:36 AM   #3
humbletech99
Member
 
Registered: Jun 2005
Posts: 374

Original Poster
Rep: Reputation: 30
no not really. This is a question about how to interoperate in the same way. Telnet is a big no. Ssh is ok but requires adding stuff and maintaining it in advance of using it on every windows machine in the company.

Hence the need for something that interoperates with what windows already has. Psexec for linux if you will.
 
Old 12-05-2007, 07:47 AM   #4
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
I've never heard of psexec, but then I don't have to deal with Windows machines on a regular basis. Still sounds like a Windows question to me.

*edit* heyhey, whaddya know. I wrote "psexec linux" into google and found this: http://eol.ovh.org/winexe/

Last edited by matthewg42; 12-05-2007 at 07:53 AM.
 
Old 12-05-2007, 07:56 AM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I just use rdesktop from Linux to my windows servers.. then I can open a cmd shell on the windows box after I connect.

Short of that you are left with Telnet that is included with windows (yuck), or installing a 3rd party solution.

I haven't seen any other solutions available in windows itself for that sort of connectivity.
 
Old 12-05-2007, 08:16 AM   #6
ghostdog74
Senior Member
 
Registered: Aug 2006
Posts: 2,697
Blog Entries: 5

Rep: Reputation: 244Reputation: 244Reputation: 244
telnet and ssh are commonly used in such situations.
If you want to use telnet, find a way to enable terminal services on windows.
For ssh, you can try this
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
remote desktop to a linux box from windows jag2000 SUSE / openSUSE 5 04-18-2007 07:51 PM
Remote control of Linux box via Windows Pc at work Azalar Linux - Networking 1 09-13-2006 06:07 AM
Remote Shutdown of Windows using a linux box? bigdog0007 Linux - Networking 7 05-12-2005 10:07 AM
how to remote login to linux GUI from windows box rfkhickory Linux - Networking 3 10-20-2003 02:21 PM
Open Linux Terminal from remote Windows machine m1ke Linux - Networking 5 11-12-2001 01:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:15 PM.

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
Open Source Consulting | Domain Registration