Having some slight issues with SSH authentication when trying to connect to an SFTP server that I’ve setup in Azure. When connecting via a client (WinSCP in this case) I get an error message attached

I got to this point with a coworkers help and thought it was fixed as I was expecting to have to put in a SSH private key, and when I put in a password I then get past and login. However, I have determined through some testing with different keys that this is a switching to password authentication, not asking passphrase for the private key in SSH.

If you need a user to look around on the test machine just message me and I’ll set one up for you. It's quick to setup again on Azure so i'm not too fussed if you break something.

SFTPError image

Server Details:Running Windows Server 2012 R2 DatacentreDS1 Azure TemplateInside a Vnet with various firewall rules

share|improve this question
You didn't tell us anything about, what you have done to setup the private key authentication on the server. So what do you expect from us? - Did you run install-sshlsa.ps1? See Installing SFTP/SSH Server on Windows using OpenSSH.– Martin PrikrylMar 24 '17 at 9:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.