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: http://sshwindows.sourceforge.net/ . 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.

About Eric Zhiqiang Ma

Eric Zhiqiang Ma is a PhD candidate at Dep. of CSE, HKUST. He is interested in system software for cloud computing, virtualization of large-scale distributed systems and etc. Also find Eric on Facebook, Twitter, LinkedIn and Google+. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties. More Posts - Website

3 thoughts on “Set Up SSH Server on Windows XP”

  1. Thanks for ones marvelous posting! I seriously enjoyed reading it, you might
    be a great author.I will be sure to bookmark your blog and will eventually come back sometime soon.
    I want to encourage continue your great posts, have a nice day!

  2. 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 *

twelve − = five

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Click to subscribe to Fclose.com Posts by Email if you have not.