Find the answer to your Linux question:
Results 1 to 5 of 5
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie humbletech99's Avatar
    Join Date
    Nov 2005
    Posts
    225

    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?
    The Human Equation:

    value(geeks) > value(mundanes)

  2. #2
    Linux Engineer Thrillhouse's Avatar
    Join Date
    Jun 2006
    Location
    Arlington, VA, USA
    Posts
    1,377
    I'm not advocating its use but if you have remote desktop enabled for these Windows machines, you can use rdesktop from Unix to administer them.

  3. #3
    Linux Guru bigtomrodney's Avatar
    Join Date
    Nov 2004
    Location
    Ireland
    Posts
    6,133
    This linle might be what you're looking for -

    winexe homepage

  4. #4
    Linux Newbie humbletech99's Avatar
    Join Date
    Nov 2005
    Posts
    225
    Thrillhouse: Thanks for that, but I already use Rdesktop. I want remote terminal, not remote window. Although RDesktop is useful, there are problems when using it on tls secured terminal servers as this flat out does not work on the rdesktop program on linux. Also, if the remote machine is a workstation, this also will not work without disconnecting the current user.

    bigtomrodney: Thank you so much, that looks like exactly what I was after. I'll try it out.
    The Human Equation:

    value(geeks) > value(mundanes)

  5. #5
    Linux Engineer Thrillhouse's Avatar
    Join Date
    Jun 2006
    Location
    Arlington, VA, USA
    Posts
    1,377
    Also, if the remote machine is a workstation, this also will not work without disconnecting the current user.
    True, but this is a feature of Windows XP/Vista, not of rdesktop. XP doesn't allow concurrent users whereas Windows Server does.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •