Linux – How to connect remote windows machine from linux terminal

linuxpythonsshssh-tunnelwindows

I want to execute windows command on remote windows machine from linux terminal.

Best Answer

Highly recommend PsExec, its made by Mark Russinovich, so you know it works..

Utilities like Telnet and remote control programs like Symantec's PC Anywhere let you execute programs on remote systems, but they can be a pain to set up and require that you install client software on the remote systems that you wish to access. PsExec is a light-weight telnet-replacement that lets you execute processes on other systems, complete with full interactivity for console applications, without having to manually install client software. PsExec's most powerful uses include launching interactive command-prompts on remote systems and remote-enabling tools like IpConfig that otherwise do not have the ability to show information about remote systems.

Just because M$ annexed him.. doesn't sniff make him a sell-out..

Download: http://technet.microsoft.com/en-au/sysinternals/bb897553

Detail by Mark: http://windowsitpro.com/systems-management/psexec

Matter of fact, anyone who has to use a MS system should have a copy of the Sysinternals Suite on hand: http://technet.microsoft.com/en-us/sysinternals/default