Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 (itefix.no/i2/copssh) which has a GUI control panel. –  Zoredache Feb 10 '12 at 2:35
add comment

2 Answers 2

up vote 1 down vote accepted

sufr to: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

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
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

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.