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.

Options
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)

Options

Topic review

framirez

Re: Logging in with ssh key is asking for a passphrase

By looking at this:
PuTTY-User-Key-File-2: ssh-rsa

Encryption: aes256-cbc
Comment: rsa-key-20200731-elsjobs
Public-Lines: 6
Private-Lines: 14
Private-MAC: 23b0cc0d7559e045398abc2b1aabc569ac6c47f9

I figured out that the key pair were generated with a passphrase (Encryption: aes256-cbc). After all, I guess, my network guy did indeed generated it with a passphrase. I went ahead and generated a new key pair using WinSCP and explicitly indicated no passphrase and it worked.

Thanks for the help.
framirez

Re: Logging in with ssh key is asking for a passphrase

I think I figured out what you meant. This is what I see internally:
PuTTY-User-Key-File-2: ssh-rsa

Encryption: aes256-cbc
Comment: rsa-key-20200731-elsjobs
Public-Lines: 6
Private-Lines: 14
Private-MAC: 23b0cc0d7559e045398abc2b1aabc569ac6c47f9
framirez

Re: Logging in with ssh key is asking for a passphrase

[quote="martin"]Can you login with any other SSH/SFTP client using that key without being prompted for a passphrase? How does your key look like? Can you post its contents structure (without the actual key data of course)? Did you try the latest version of WinSCP?[/quote]

Thanks for taking the time to help me out. No, I haven't tried other SSH/SFTP client.
I'm not sure how to post the content structure of the key. What I can tell you is that the key pair was not generated by WinSCP. Our networking group generated the key pair in another computer than the one I'm using. I'm not sure if that makes a difference.
No, I haven't tried the latest version.
martin

Re: Logging in with ssh key is asking for a passphrase

Can you login with any other SSH/SFTP client using that key without being prompted for a passphrase? How does your key look like? Can you post its contents structure (without the actual key data of course)? Did you try the latest version of WinSCP?
framirez

Logging in with ssh key is asking for a passphrase

WinSCP Version 5.15.3 (Build 9730) (OS 6.3.9600 - Windows Server 2012 R2 Standard), SFTP protocol, GUI Commander
1. Edited site 'çoncurSSH'
2. Loaded private key file on "Advanced > SSH > Authentication"
3. Saved changes to site
4. Logged in to st.concursolutions.com via site 'concurSSH'
5. "Key passphrase - concurSSH" dialog said
Authenticating...
Using username "p0055060tvxc"
Authenticating with public key "rsa-key-20200731-elsjobst"
6. Asked for "Passphrase for key 'rsa-key-20200731-elsjobst'
7. Since the key was created without a passphrase, I press OK with no value
8. Returned "Wrong passphrase" and kept asking for it
9. Please see attached log