Archive for March, 2011

How to get freeSSHd public key authentication to work

March 28, 2011

I was looking for a Windows SSH server implementation to use in conjunction with Mercurial when I stumbled upon freeSSHd. Setting it up was a matter of minutes… except that I could not get public key authentication to work. After countless attempts and many a Google search I eventually solved my problem, thanks to this step by step IBM tutorial.

Unfortunately when used in non-interactive mode freeSSHd doesn’t spawn cmd.exe, which makes it unsuitable for applications that expect their remote counterparts to be on the path.