I am running winscp on a Windows server using sftp on port 22. If I use a username and password to connect all is good. I have been trying to change my configuration to use public/private keys instead but connection always fails with an authentication error.
I am using the GUI to connect. I created by keys using puttygen and specified by private key in the GUI configuation and put my public key contents into .ssh\authorized_keys in the windows HOME folder of the user I am connecting as.
I am not using passphrase protection.
Every time, I get :
Authentication log (see session log for details):
Using username "svc_oracle".
Authenticating with public key "rsa-key-sf".