WinSCP v 5.7 - keeps asking for passphrase

Advertisement

ausername
Guest

WinSCP v 5.7 - keeps asking for passphrase

Hello,

I've been using WinSCP 5.52 portable for some time and I decided to jump to 5.7 portable. I copied my 5.52 .ini file and everything looks to be in order. But when I try to login to a saved session which is using a private key, it keeps asking me for passphrase. I triple-checked 5.52 vs 5.7 settings, they are identical.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: WinSCP v 5.7 - keeps asking for passphrase

Can you attach a log file from both versions?

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

ausername
Guest

Hi,

I attached the two logs (Debug2). From what I see:

WinSCP 5.52
. 2015-03-25 06:16:41.558 Using remembered password.

WinSCP 5.70
. 2015-03-25 06:23:45.293 Prompt (passphrase, "SSH key passphrase", <no instructions>, "Passphrase for key "[edited]": ")

But the settings for the site are identical. I even deleted it and recreated, still I receive a password prompt.

Reply with quote

ausername
Guest

Re: WinSCP v 5.7 - keeps asking for passphrase

Hello,

Were you able to reproduce and identify the root cause of this issue?

Thank you.

Reply with quote

martin
Site Admin
martin avatar

Re: WinSCP v 5.7 - keeps asking for passphrase

Sorry, I've missed your previous post.
Actually the fact that stored PASSWORD was used as PASSPHRASE in 5.5.2 was a bug. It was a side effect of a bug introduced in 5.5 and fixed in 5.5.4:
https://winscp.net/tracker/1176

Reply with quote

Advertisement

ausername
Guest

Re: WinSCP v 5.7 - keeps asking for passphrase

Hi,

Thanks for the reply. So it is actually not possible to auto login with private key and stored passphrase.

I will remain at 5.52

Reply with quote

ausername
Guest

Re: WinSCP v 5.7 - keeps asking for passphrase

Thank you for your reply.

Normally it doesn't make sense unless I want to prevent the key file from being used if it is somehow retrieved and at the same time not having to enter the passphrase each time I need to login with it.

I did not want to use pageant because it is another software I need to run specifically for storing the passphrase and I liked the simplicity of just letting WinSCP do this for me.

I will either keep using WinSCP 5.52 or use 5.7 and remove the passphrase from the private key.

Best regards!

Reply with quote

Advertisement

You can post new topics in this forum