Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

I want to access a Windows machine from Ubuntu. I don't want to connect with to the GUI (rdesktop) - instead I want to connect to Windows PowerShell from the terminal.

This is because I want to administer the Windows machine similarly to how you can administer a headless Linux server: running background jobs, writing shell scripts to perform daily/weekly remote maintenance, shutting down/logging off thru shell scripts.

Will rlogin work, and if so how? If not, what other options are there?

share|improve this question
This question would be better if you explain why you don't want to use rdesktop. – poolie Aug 30 '11 at 2:28

There's a commercial proprietary tool called PowerShell SSH Server (read TechNet description) that will let you log in over SSH.

There's also a free proprietary tool freeSSHd - you can run it and replace the standard cmd command shell with PowerShell.

Finally, if you'd prefer a free software (open source) solution, you can install the Cygwin SSH server and run PowerShell under that. (Apparently this is slower.)

share|improve this answer

You can also use WinSSHD from Bitvise and set the Terminal shell for each allowed user as "powershell.exe".

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.