Pageant authentication not working with 4.3.2 release

Advertisement

jaden
Joined:
Posts:
2

Pageant authentication not working with 4.3.2 release

I've been using the Pageant included with PortaPutty 0.60 on Win7 x64 with previous versions of WinSCP but as of 4.3.2 it no longer finds the key in Pageant. I downgraded back to Winscp 4.3.1 without changing anything else and it logged in fine.

Here are the logs from 4.3.1 (worked) and 4.3.2 (failed).
. 2011-02-24 11:56:31.605 --------------------------------------------------------------------------
. 2011-02-24 11:56:31.605 WinSCP Version 4.3.1 (Build 1099) (OS 6.1.7600)
. 2011-02-24 11:56:31.605 Login time: Thursday, February 24, 2011 11:56:31 AM
. 2011-02-24 11:56:31.605 --------------------------------------------------------------------------
. 2011-02-24 11:56:31.605 Session name: ###
. 2011-02-24 11:56:31.605 Host name: ###.com (Port: 22)
. 2011-02-24 11:56:31.605 User name: ### (Password: No, Key file: No)
. 2011-02-24 11:56:31.605 Tunnel: No
. 2011-02-24 11:56:31.605 Transfer Protocol: SCP
. 2011-02-24 11:56:31.605 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2011-02-24 11:56:31.606 Proxy: none
. 2011-02-24 11:56:31.606 SSH protocol version: 2; Compression: No
. 2011-02-24 11:56:31.606 Bypass authentication: No
. 2011-02-24 11:56:31.606 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2011-02-24 11:56:31.606 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2011-02-24 11:56:31.606 SSH Bugs: -,-,-,-,-,-,-,-,-
. 2011-02-24 11:56:31.606 SFTP Bugs: -,-
. 2011-02-24 11:56:31.606 Return code variable: Autodetect; Lookup user groups: Yes
. 2011-02-24 11:56:31.606 Shell: default
. 2011-02-24 11:56:31.606 EOL: 0, UTF: 2
. 2011-02-24 11:56:31.606 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2011-02-24 11:56:31.606 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2011-02-24 11:56:31.606 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2011-02-24 11:56:31.606 Cache directory changes: Yes, Permanent: Yes
. 2011-02-24 11:56:31.606 DST mode: 1
. 2011-02-24 11:56:31.606 --------------------------------------------------------------------------
. 2011-02-24 11:56:31.703 Looking up host "###.com"
. 2011-02-24 11:56:31.706 Connecting to 64.62.228.39 port 22
. 2011-02-24 11:56:31.815 Waiting for the server to continue with the initialisation
. 2011-02-24 11:56:31.815 Detected network event
. 2011-02-24 11:56:31.928 Detected network event
. 2011-02-24 11:56:31.928 Server version: SSH-2.0-OpenSSH_5.3p1 Debian-3ubuntu4
. 2011-02-24 11:56:31.928 We believe remote version has SSH-2 ignore bug
. 2011-02-24 11:56:31.928 Using SSH protocol version 2
. 2011-02-24 11:56:31.928 We claim version: SSH-2.0-WinSCP_release_4.3.1
. 2011-02-24 11:56:31.928 Waiting for the server to continue with the initialisation
. 2011-02-24 11:56:32.036 Detected network event
. 2011-02-24 11:56:32.036 Doing Diffie-Hellman group exchange
. 2011-02-24 11:56:32.036 Waiting for the server to continue with the initialisation
. 2011-02-24 11:56:32.287 Detected network event
. 2011-02-24 11:56:32.287 Doing Diffie-Hellman key exchange with hash SHA-1
. 2011-02-24 11:56:32.360 Waiting for the server to continue with the initialisation
. 2011-02-24 11:56:32.487 Detected network event
. 2011-02-24 11:56:32.551 Host key fingerprint is:
. 2011-02-24 11:56:32.551 ssh-rsa 2048 2d:1e:4d:77:51:29:af:24:21:34:a6:b1:06:c0:fc:1f
. 2011-02-24 11:56:32.551 Initialised AES-256 SDCTR client->server encryption
. 2011-02-24 11:56:32.551 Initialised HMAC-SHA1 client->server MAC algorithm
. 2011-02-24 11:56:32.551 Initialised AES-256 SDCTR server->client encryption
. 2011-02-24 11:56:32.551 Initialised HMAC-SHA1 server->client MAC algorithm
. 2011-02-24 11:56:32.551 Waiting for the server to continue with the initialisation
. 2011-02-24 11:56:32.802 Detected network event
. 2011-02-24 11:56:32.802 Pageant is running. Requesting keys.
. 2011-02-24 11:56:32.803 Pageant has 1 SSH-2 keys
! 2011-02-24 11:56:32.803 Using username "###".
. 2011-02-24 11:56:32.810 Waiting for the server to continue with the initialisation
. 2011-02-24 11:56:32.919 Detected network event
. 2011-02-24 11:56:32.919 Trying Pageant key #0
. 2011-02-24 11:56:32.919 Waiting for the server to continue with the initialisation
. 2011-02-24 11:56:33.026 Detected network event
! 2011-02-24 11:56:33.026 Authenticating with public key "rsa-key-20070917" from agent
. 2011-02-24 11:56:33.067 Sending Pageant's response
. 2011-02-24 11:56:33.068 Waiting for the server to continue with the initialisation
. 2011-02-24 11:56:33.179 Detected network event
. 2011-02-24 11:56:33.179 Access granted
. 2011-02-24 11:56:33.179 Waiting for the server to continue with the initialisation
. 2011-02-24 11:56:33.285 Detected network event
. 2011-02-24 11:56:33.285 Opened channel for session
. 2011-02-24 11:56:33.285 Waiting for the server to continue with the initialisation
. 2011-02-24 11:56:33.545 Detected network event
. 2011-02-24 11:56:33.545 Started a shell/command
 
2011-02-24 11:54:16.952 --------------------------------------------------------------------------
. 2011-02-24 11:54:16.952 WinSCP Version 4.3.2 (Build 1201) (OS 6.1.7600)
. 2011-02-24 11:54:16.952 Login time: Thursday, February 24, 2011 11:54:16 AM
. 2011-02-24 11:54:16.952 --------------------------------------------------------------------------
. 2011-02-24 11:54:16.952 Session name: ###
. 2011-02-24 11:54:16.952 Host name: ###.com (Port: 22)
. 2011-02-24 11:54:16.952 User name: ### (Password: No, Key file: No)
. 2011-02-24 11:54:16.952 Tunnel: No
. 2011-02-24 11:54:16.952 Transfer Protocol: SCP
. 2011-02-24 11:54:16.953 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2011-02-24 11:54:16.953 Proxy: none
. 2011-02-24 11:54:16.953 SSH protocol version: 2; Compression: No
. 2011-02-24 11:54:16.953 Bypass authentication: No
. 2011-02-24 11:54:16.953 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2011-02-24 11:54:16.953 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2011-02-24 11:54:16.953 SSH Bugs: -,-,-,-,-,-,-,-,-
. 2011-02-24 11:54:16.953 SFTP Bugs: -,-
. 2011-02-24 11:54:16.953 Return code variable: Autodetect; Lookup user groups: Yes
. 2011-02-24 11:54:16.953 Shell: default
. 2011-02-24 11:54:16.953 EOL: 0, UTF: 2
. 2011-02-24 11:54:16.953 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2011-02-24 11:54:16.953 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2011-02-24 11:54:16.953 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2011-02-24 11:54:16.953 Cache directory changes: Yes, Permanent: Yes
. 2011-02-24 11:54:16.953 DST mode: 1
. 2011-02-24 11:54:16.953 --------------------------------------------------------------------------
. 2011-02-24 11:54:17.079 Looking up host "###.com"
. 2011-02-24 11:54:17.400 Connecting to 64.62.228.39 port 22
. 2011-02-24 11:54:17.575 Waiting for the server to continue with the initialisation
. 2011-02-24 11:54:17.575 Detected network event
. 2011-02-24 11:54:17.688 Detected network event
. 2011-02-24 11:54:17.710 Server version: SSH-2.0-OpenSSH_5.3p1 Debian-3ubuntu4
. 2011-02-24 11:54:17.710 We believe remote version has SSH-2 ignore bug
. 2011-02-24 11:54:17.710 Using SSH protocol version 2
. 2011-02-24 11:54:17.710 We claim version: SSH-2.0-WinSCP_release_4.3.2
. 2011-02-24 11:54:17.710 Waiting for the server to continue with the initialisation
. 2011-02-24 11:54:17.818 Detected network event
. 2011-02-24 11:54:17.818 Doing Diffie-Hellman group exchange
. 2011-02-24 11:54:17.818 Waiting for the server to continue with the initialisation
. 2011-02-24 11:54:18.069 Detected network event
. 2011-02-24 11:54:18.122 Doing Diffie-Hellman key exchange with hash SHA-1
. 2011-02-24 11:54:18.198 Waiting for the server to continue with the initialisation
. 2011-02-24 11:54:18.325 Detected network event
. 2011-02-24 11:54:18.470 Host key fingerprint is:
. 2011-02-24 11:54:18.470 ssh-rsa 2048 2d:1e:4d:77:51:29:af:24:21:34:a6:b1:06:c0:fc:1f
. 2011-02-24 11:54:18.470 Initialised AES-256 SDCTR client->server encryption
. 2011-02-24 11:54:18.470 Initialised HMAC-SHA1 client->server MAC algorithm
. 2011-02-24 11:54:18.470 Initialised AES-256 SDCTR server->client encryption
. 2011-02-24 11:54:18.470 Initialised HMAC-SHA1 server->client MAC algorithm
. 2011-02-24 11:54:18.470 Waiting for the server to continue with the initialisation
. 2011-02-24 11:54:18.721 Detected network event
. 2011-02-24 11:54:18.781 Pageant is running. Requesting keys.
! 2011-02-24 11:54:18.782 Using username "###".
. 2011-02-24 11:54:18.785 Waiting for the server to continue with the initialisation
. 2011-02-24 11:54:19.003 Detected network event
. 2011-02-24 11:54:19.040 Prompt (6, SSH password, , &Password: )
. 2011-02-24 11:55:03.020 Sent password
. 2011-02-24 11:55:03.032 Waiting for the server to continue with the initialisation
. 2011-02-24 11:55:03.127 Detected network event
! 2011-02-24 11:55:03.127 Access denied
. 2011-02-24 11:55:03.130 Access denied
. 2011-02-24 11:55:03.130 Prompt (6, SSH password, , &Password: )
. 2011-02-24 11:55:09.728 Disconnected: Unable to authenticate
* 2011-02-24 11:55:09.749 (ESshFatal) Connection has been unexpectedly closed. Server sent command exit status 0.
* 2011-02-24 11:55:09.749 Authentication log (see session log for details):
* 2011-02-24 11:55:09.749 Using username "###".
* 2011-02-24 11:55:09.749 Access denied.
* 2011-02-24 11:55:09.749 
* 2011-02-24 11:55:09.749 Authentication failed.

Reply with quote

Advertisement

Travis
Guest

Re: Pageant authentication not working with 4.3.2 release

jaden wrote:

I've been using the Pageant included with PortaPutty 0.60 on Win7 x64 with previous versions of WinSCP but as of 4.3.2 it no longer finds the key in Pageant. I downgraded back to Winscp 4.3.1 without changing anything else and it logged in fine.

Yes, I've have exactly the same problem after upgrading to 4.3.2 on Win7 x64. Only difference is that I use the Pageant supplied with WinSCP - version 2010-07-04:r8970.

Can supply the logs if necessary.

Reply with quote

Hoween
Guest

Re: Pageant authentication not working with 4.3.2 release

martin wrote:

Can you try using the latest version of Pagent
Pageant: 2011-02-28:r9105
WinSCP: 4.3.2 Portable
OS: Win7 Home Premium 32bit

Same problem as above. WinSCP doesn't take key in Pageant. Version 4.2.9 works fine.

Reply with quote

Advertisement

marcoc
Guest

Re: Pageant authentication not working with 4.3.2 release

Same problem here: Win7 x64, Pageant 0.60.
WinSCP "Portable Executables" 4.3.1 works fine, 4.3.2 does not authenticate
. 2011-03-03 08:41:16.640 Pageant is running. Requesting keys.
! 2011-03-03 08:41:16.641 Using username "XXX".
. 2011-03-03 08:41:16.649 Prompt (6, SSH password, , &Password: )

Reply with quote

truy
Guest

Re: Pageant authentication not working with 4.3.2 release

Same problem as above. WinSCP doesn't take key in Pageant. Version 4.2.9 works fine.

But it seems to be a problem in Putty itself, because it also can't manage to authenticate with pageant.exe anymore.

Last WORKING version (I remember): r9020
First NON WORKING version (I found): r9105

Maybe this helps.
I haven't reported this to Putty developers at this time though.

Reply with quote

Sven
Guest

Re: Pageant authentication not working with 4.3.2 release

i have the same problem too.
the development snapshoot of putty is also non working with pageant on Win7 x64.

Reply with quote

BoKo
Guest

same problem

Hi,

have the same problem, tried with last pagent and last dev version of putty.
With winscp 4.2.9 it works perfect.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,442
Location:
Prague, Czechia

Re: same problem

BoKo wrote:

have the same problem, tried with last pagent and last dev version of putty.
With winscp 4.2.9 it works perfect.
That's useful information. Just to be sure I understand: you have tried to connecting using the latest development version of PuTTY using the latest development version (i.e. the same version) of Pagent. And it did not worked, right?

Reply with quote

Guest

Re: same problem

Yes correct.

I use Pageant 2011-03-04:r9117 and load my key,
than i run putty 2011-03-04:r9117 and connect to the server and he wants passwort from me and don't use the key.

This is a problem from the newest putty version.
And i think WinSCP don't work because you implemented the latest SSH Core from Putty in WinSCP.

Any ideas how to fix that?

Reply with quote

PS1978
Guest

I have this same problem Win7 x64 WinSCP 4.3.2 Putty 0.60 (stable version, should I try the dev version?). There is an added annoyance of sometimes if I want to save something (while already having a session open), I get prompted for the passphrase again and then for some reason, I can't minimize the WinSCP window after that. This isn't related to the original Pageant bug except that I would never have been prompted for the passphrase if Pageant+WinSCP worked properly.

Thanks!

Reply with quote

xicesky
Guest

I have the same bug now, using Windows 7 64 Bit.
The strange thing is: It used to work fine a few days ago - before i disabled Win7's UAC.

Reply with quote

Advertisement

BoKo
Guest

Re: Pageant authentication not working with 4.3.2 release

anything new about that?
The actual version is not really useful for me with that bug.

Reply with quote

magenbrot
Joined:
Posts:
1
Location:
http://www.magenbrot.net

this seems to be coming from the built-in version of putty.

the current devel version of putty has the same problem!

Reply with quote

martin
Site Admin
martin avatar

Re: Pageant authentication not working with 4.3.2 release

I have sent an email to jaden and magenbrot with dev version to test.

Reply with quote

Advertisement

spykos
Guest

Re: Pageant authentication not working with 4.3.2 release

Hi

I tested WinSCP 4.3.2 with dev Pageant version 2011-04-12r9149 and it works fine.
However there is an issue with Pageant in Vista which I reported as bug.

Reply with quote

truy
Guest

Re: Pageant authentication not working with 4.3.2 release

spykos wrote:

I tested WinSCP 4.3.2 with dev Pageant version 2011-04-12r9149 and it works fine.
Sorry, I can't confirm this on win2000.
Also latest putty-dev (r9149) still fails to authenticate with pageant.

Reply with quote

Advertisement

tmpsa
Guest

Me too

Me too. WinSCP 4.3.9 (Build 1817) on Win7 x64.

PuTTY 0.60 uses Pageant-stored keys all right. But not WinSCP, it asks for password.

Reply with quote

tmpsa
Guest

Me too

Also same problem after I upgraded to WinSCP 5.1.0 . It does not use the keys loaded into Pageant. Hope this will be fixed soon, it's a bit of a show-stopper.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,442
Location:
Prague, Czechia

Re: Me too

tmpsa wrote:

Me too. WinSCP 4.3.9 (Build 1817) on Win7 x64.

PuTTY 0.60 uses Pageant-stored keys all right. But not WinSCP, it asks for password.
Upgrade to PuTTY/Pageant 0.62.

Reply with quote

Advertisement

You can post new topics in this forum