http://bugs.winehq.org/show_bug.cgi?id=22872
Summary: PuTTY Pageant authentication agent does not provide cached keys Product: Wine Version: 1.1.44 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: ninevoltz@metalink.net
The pageant program for PuTTY does not provide stored keys to other applications, such as plink.
To duplicate:
wine pageant yourkey.ppk wine plink -s -v -l yourname yourserver
Looking up host "10.0.0.212" Connecting to 10.0.0.212 port 22 Server version: SSH-2.0-OpenSSH_4.7 We claim version: SSH-2.0-PuTTY_Release_0.60 Using SSH protocol version 2 Doing Diffie-Hellman group exchange Doing Diffie-Hellman key exchange with hash SHA-256 Host key fingerprint is: ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx Initialised AES-256 SDCTR client->server encryption Initialised HMAC-SHA1 client->server MAC algorithm Initialised AES-256 SDCTR server->client encryption Initialised HMAC-SHA1 server->client MAC algorithm Pageant is running. Requesting keys.
If it was working, here it would say: Pageant has 1 SSH-2 keys Trying Pageant key #0
but instead we get a password prompt, as if pageant has no cached keys: Using username "john.voltz". john.voltz@10.0.0.212's password:
http://bugs.winehq.org/show_bug.cgi?id=22872
--- Comment #1 from John Voltz ninevoltz@metalink.net 2010-05-25 09:03:58 --- This bug happens with TortoiseSVN's Plink program too. It should use the stored key in pageant for authentication, but instead asks for a password.
http://bugs.winehq.org/show_bug.cgi?id=22872
--- Comment #2 from John Voltz ninevoltz@metalink.net 2010-05-25 09:15:50 --- I changed the Windows version to Windows 98 and now it works. The bug must be something to do with ntdll?
http://bugs.winehq.org/show_bug.cgi?id=22872
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
http://bugs.winehq.org/show_bug.cgi?id=22872
--- Comment #3 from Austin English austinenglish@gmail.com 2010-05-25 10:47:32 --- Terminal output?
http://bugs.winehq.org/show_bug.cgi?id=22872
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest@gmail.com
--- Comment #4 from Vijay Kamuju infyquest@gmail.com 2011-09-21 15:54:15 CDT --- please test again with latest wine
https://bugs.winehq.org/show_bug.cgi?id=22872
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW URL| |http://www.chiark.greenend. | |org.uk/~sgtatham/putty/down | |load.html Ever confirmed|0 |1
--- Comment #5 from Bruno Jesus 00cpxxx@gmail.com --- Still in 1.7.33. To reproduce you need puttygen, pageant and plink from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Use puttygen to generate a key (press Generate and save the ppk file). Then follow comment 0.
https://bugs.winehq.org/show_bug.cgi?id=22872
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com --- Created attachment 50430 --> https://bugs.winehq.org/attachment.cgi?id=50430 +relay
The problematic part is between the sentences: "Pageant is running. Requesting keys." "Failed to get reply from Pageant"
https://bugs.winehq.org/show_bug.cgi?id=22872
Asad Mehmood asad78611@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |asad78611@googlemail.com
--- Comment #7 from Asad Mehmood asad78611@googlemail.com --- This is a bug in GetSecurityInfo.
GetSecurityInfo doesn't return an OwnerSid when handed a Process Handle (OpenProcess). Pageant will then bail for security and not respond to any messages received.