Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


Further information

I should have mentioned that I cannot connect with public/private keys using putty either. I get the same error.
In puttygen, I generate RSA keys with 2048 bits.

Cannot connect using public/private keys

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".
Authentication failed.

I attach the log file generated with Debug.

Where am I going wrong?