Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to connect to a Windows Server machine command line without using RDP, in similar manner to SSHing to a Linux server? My tasks require running various commands in many Windows machines.

Should I just use Cygwin with OpenSSH Server and Screen? How stable is that?

share|improve this question
up vote 1 down vote accepted

If you want to remote manage and script Windows machines you should look into Powershell and Powershell Remoting

share|improve this answer

Of course. You already know the answer. OpenSSh will do it. There is a Windows compiled version called CopSSH that we've used successfully in production for years.

share|improve this answer
Windows also supports Telnet by default... but that isn't secure. Hopefully some day MS will get on the SSH boat. – ubiquibacon Jun 8 '11 at 21:29
Depending on the version of Windows, telnet is available but not installed by default. – uSlackr Jun 8 '11 at 21:31
Not installed, but supported. Install it by clicking on Windows Components in Add/Remove Programs. – ubiquibacon Jun 8 '11 at 22:30

Microsoft has a product called Windows Remote Management. Here's one of the utilities:

This command line tool enables administrators to remotely execute most Cmd.exe commands using the WS-Management protocol.

Read more at:

share|improve this answer

Depending upon your environment and requirements, you might look at pstools from Microsoft. It will allow you to run commands or scripts across several machines.

I'm sure that PowerShell is a bit more elegant, but this set of tools is handy, especially if you have some vb scripts that that you haven't converted to PowerShell yet.

share|improve this answer

WinSSHD is an excellent SSH Server implementation for Windows. It's free for non-commercial use, and reasonably priced ($100 / Server) for commercal use.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .