Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

What is the correct way to set up sshwindows for SSH key authentication? Does the user need to be created in Windows first or can a login be inserted into passwd without a Windows equivalent?

I've searched on Google and have tried the tutorials and quick start guides. So far, exactly 0 have worked.

None pointed out that to work in Windows 2008 R2, you need to change the properties of cygrunsrv.exe to "Windows XP SP3" compability mode to even get past the service startup "error 1067". Although it is running, no amount of configuration allowed me to log on to the SFTP server, even though I tried (from another machine):

  • same user account added using "mkpasswd" + windows password
  • same user account added using "mkpasswd" + public ssh key (added to /home/theuser/.ssh)

On Windows 2003 R2 (a different attempt), the service would crash every time it started up.

Some links I went through

share|improve this question
That project looks abandoned. I would strongly suggest you look at alternatives. For example CopSSH ( which has a GUI control panel. – Zoredache Feb 10 '12 at 2:35
up vote 1 down vote accepted

sufr to:

and Download:

  • pageant.exe (GUI for adding ssh private keys)
  • psftp.exe (command line tool)

  • puttygen.exe (GUI for creating ssh private keys)

generate your key and add it to pageant. Now you can use psftp.exe to upload download files. (start it in a windows command line)

share|improve this answer
the PuTTY applications works very well. I've been using then for years without issue. – slm Nov 4 '12 at 7:27

Try core ftp server, which allows you to configure sftp without using windows based authentication.

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.