Open a CMD on a remote Windows box from Linux?

  • humbletech99
  • Proficient
  • Proficient
  • User avatar
  • Joined: Mar 09, 2006
  • Posts: 300
  • Status: Offline

Post December 4th, 2007, 11:51 am

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?
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post December 4th, 2007, 11:51 am

  • kc0tma
  • o|||||||o
  • Web Master
  • User avatar
  • Joined: Jul 20, 2007
  • Posts: 3318
  • Loc: Trout Creek, MT
  • Status: Offline

Post December 4th, 2007, 12:58 pm

putty is a telnet/ssh client for windows machines
Like Mr Spork, I also write about my interest in alcoholic beverages.
  • humbletech99
  • Proficient
  • Proficient
  • User avatar
  • Joined: Mar 09, 2006
  • Posts: 300
  • Status: Offline

Post December 4th, 2007, 1:24 pm

you don't say...

Thanks for trying to help, but I'm talking about getting a CMD session on a remote Windows box from a Linux workstation.

Putty is good the other way round, when using Windows to get a remote terminal on a Linux box.

So, do I install SSH on all my windows boxes, or is there a better way of natively getting a remote CMD on Windows from Linux, the way psexec can Windows to Windows.
  • kc0tma
  • o|||||||o
  • Web Master
  • User avatar
  • Joined: Jul 20, 2007
  • Posts: 3318
  • Loc: Trout Creek, MT
  • Status: Offline

Post December 4th, 2007, 3:12 pm

Woops, I'm backwards, maybe this kpym telnet/ssh server will be better. From the description on the main page it sounds like what you want.
Like Mr Spork, I also write about my interest in alcoholic beverages.
  • humbletech99
  • Proficient
  • Proficient
  • User avatar
  • Joined: Mar 09, 2006
  • Posts: 300
  • Status: Offline

Post December 4th, 2007, 3:17 pm

hmmm, that looks more interesting, I remember seeing a good ssh server implementation on windows last year and have had some trouble finding this again which is a shame... but this doesn't look too bad either. I like the fact that it uses integrated auth compared to the openssh which has to import user accounts/passwords.
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Joined: Jan 23, 2004
  • Posts: 2673
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Post December 10th, 2007, 2:51 pm

What you may be looking for is called VNC (there are many flavors, that run under *nix and connect to X, or Win32).

Here's one of them;
http://www.tightvnc.com/

Cheers.

Other than that, you can open a netcat (not advisable) to the outside, or install an sshd server (using Cygwin as the unix source repository) and OpenSSH.
"It's always a long day, 86,400 won't fit into a short."
  • humbletech99
  • Proficient
  • Proficient
  • User avatar
  • Joined: Mar 09, 2006
  • Posts: 300
  • Status: Offline

Post December 10th, 2007, 4:07 pm

thanks but I don't want a graphical session. I want a command line only session.

VNC is ok, but slow and doesn't allow you to have multiple sessions. Also, it interferes if something is on a workstation since then it's a single shared session etc...

I found what I wanted, linux's answer to psexec - winexe.
  • geekdw
  • Beginner
  • Beginner
  • User avatar
  • Joined: Dec 12, 2007
  • Posts: 39
  • Status: Offline

Post December 12th, 2007, 12:38 pm

I've been having so much fun in my office with VNC :)

Post Information

  • Total Posts in this topic: 8 posts
  • Users browsing this forum: No registered users and 71 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.