SSH Server in Windows


This is a proof of concept on how to run a SSH Server in Windows NT family (200x,XP, etc). The basic reference is this site. Business users should acquire commercial software for critical servers, instead of just this simple server.

  1. Download the openssh server installer as a zip file, at the time of this writing version 3.8.
  2. unzip and run setup. The server files will be intalled by default at C:\Program Files\OpenSSH.
  3. Change to the OpenSSH\bin directory and create groups with the command mkgroup -l >> ..\etc\group. Open C:\Program Files\OpenSSH\etc\group in Notepad to check that the local groups were created properly.
  4. Change to the OpenSSH\bin directory and create the password file with the command mkpasswd -l -u username >> ..\etc\passwd>. Open C:\Program Files\OpenSSH\etc\passwd in Notepad to check that the password file was created properly. Note: username is the user name you want to add to the password file -- just one or a few for security reasons, not all users.
  5. Open Computer Management, Services, as shown here and change it to manual as a security precaution. You can start it whenever you want to provide SSH access to the machine.

You can use SSH Windows clients for secure telnet and secure ftp uses.


This page is maintained by Al Bento who can be reached at abento@ubalt.edu. This page was last updated on April 5, 2005. Although we will attempt to keep this information accurate, we can not guarantee the accuracy of the information provided.