Topic "Pageant authentication not working with 4.3.2 release"

Author Message
jaden
[View user's profile]

Joined: 2011-02-24
Posts: 2
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.
Advertisements
Travis

Guest


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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Can you try using the latest version of Pagent?
jaden
[View user's profile]

Joined: 2011-02-24
Posts: 2
Running Pageant version 2011-02-28:r9105 made no difference. WinSCP 4.3.1 worked, 4.3.2 prompted for the password.
Hoween

Guest


prikryl 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.
marcoc

Guest


Same problem here: Win7 x64, Pageant 0.60.
WinSCP "Portable Executables" 4.3.1 works fine, 4.3.2 does not authenticate
Code:

. 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: )
truy

Guest


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.
Sven

Guest


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

Guest


Hi,

have the same problem, tried with last pagent and last dev version of putty.
With winscp 4.2.9 it works perfect.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
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?
_________________
Martin Prikryl
Guest




prikryl wrote:

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?


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 dont use the key.

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

Any ideas how to fix that?
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!
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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
This issue has been added to tracker.
_________________
Martin Prikryl
BoKo

Guest


prikryl wrote:
This issue has been added to tracker.


anything new about that?
The actual version is not really useful for me with that bug.
magenbrot
[View user's profile]

Joined: 2011-04-09
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!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
I have sent an email to jaden and magenbrot with dev version to test.
spykos

Guest


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.
truy

Guest


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.
bk

Guest


WinSCP 4.3.2 with dev Pageant version 2011-04-12r9149 does not work on win7 x64
Ked

Guest


Also having the same issue with winscp 4.3.2 after upgrading winscp 4.2.8.
tmpsa

Guest


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.
tmpsa

Guest


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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
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.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License