Set Up SSH Server on Windows XP

It is useful sometimes to set up a sshd server on a Windows. One example is using remote forwards tunnel to pass through the firewall.

My platform is Windows XP SP3.

The sshd server is sshwindows. It can be dowloaded from here: . The version I use here is 3.8p1-1 20040709.

It is really easy:

1) Run sshwindows installer and click OK and OK…

2) Run cmd.exe:

3) cd C:Program FilesOpenSSHbin (it depends on the sshd’s install location)

4) ‘mkgroup -l >> ..etcgroup’

5) ‘mkpasswd -l >> ..etcpasswd’

Now all local users are added to the sshd users list. More details can be found in the readme.txt file.

6) Configuration the firewall and let it allow the sshd service listening on port 22

7) Start the sshd service: ‘net start “OpenSSH Server”‘

Now it is OK ;) Try to ssh to the windows and have fun.

There are some problems such as the default home is “/home/USERNAME”, but you just get a warning and you can change to the directory by yourself. At least, it works.

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.


  1. I know the street is back to you in your facebook photo
    It is a start of a long “hot” walking to the pnly Peak mount of Honk Kong
    The only “fresh” place of Honk Kong and on the top exist a wonderfull
    golf club restaraunt , where I haved a very good dinner a lot of years ago
    It is n’t ?

    1. Actually it in my University: HKUST. HKUST is built on the slope of a mountain facing the beautiful sea. On this photo, I was back to the sea and facing the mountain in the campus.

      The Peak is also a beautiful place in HK. I have been there twice but unfortunately I didn’t notice the golf club restaurant but just had dinner in a Chinese one.

Leave a Reply

Your email address will not be published. Required fields are marked *