how to make SFTP work on Windows
Posted
by
cyberkiwi
on Server Fault
See other posts from Server Fault
or by cyberkiwi
Published on 2012-02-10T02:18:20Z
Indexed on
2012/06/22
9:18 UTC
Read the original article
Hit count: 230
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
© Server Fault or respective owner