Shared SSH public key authentication w/ TortoisePlink and Pageant not working in 1.7.1

1,261 views
Skip to first unread message

Jason K. Carter

unread,
Nov 10, 2011, 10:00:33 AM11/10/11
to us...@tortoisesvn.tigris.org

Ever since I upgraded to version 1.7.1, any server commands I send through TortoiseSVN are asking me to enter the password for my Putty private SSH key (.ppk).

 

I am running on Windows 7 (x64) and have shared public key authentication set up via Putty and Pageant as outlined at:

http://tortoisesvn.net/ssh_howto.html

 

I have a saved Putty profile set up for the server I am connecting to, and that profile is pointing to the .ppk file.

 

My TortoiseSVN working directory is checked out from svn+ssh://<username>@<profileName>/svnrep/<projectDir>/

 

My servers config file is using the default config, and the SSH client in the TortoiseSVN Network settings tab is cleared out (therefore using the default TortoisePlink.exe).  I do not have a default profile set up in Putty, and I confirmed that HKEY_CURRENT_USER\Software\SimonTatham\Putty\Sessions\Default%20Settings does not exist in the registry.

 

It seems as if TortoisePlink.exe just isn’t checking for Pageant sessions anymore.  Is this a bug?

 

For now I can limp by with either hardcoding my key password into the SSH client field as a command line option, or by pointing the SSH client to the stock plink.exe binary.  However, doing the former is a security no no, and doing the latter opens up a black console window for every single svn command, which is really annoying.  It’s not just an aesthetic annoyance.  The window steals focus when it opens, interrupting whatever other tasks I may be doing.

 

Any help would be appreciated.

 

Thanks,

 

Jason Carter

Software Engineer,
Microsoft Certified Technology Specialist

jkca...@dlsstudios.com

312-332-9110 x254

Description: cid:image001.png@01CC4B64.31E66FA0

 

image001.png

Simon Large

unread,
Nov 10, 2011, 10:21:21 AM11/10/11
to us...@tortoisesvn.tigris.org
On 10 November 2011 15:00, Jason K. Carter <jkca...@dlsstudios.com> wrote:
>
> Ever since I upgraded to version 1.7.1, any server commands I send through TortoiseSVN are asking me to enter the password for my Putty private SSH key (.ppk).
>
> I am running on Windows 7 (x64) and have shared public key authentication set up via Putty and Pageant as outlined at:
>
> http://tortoisesvn.net/ssh_howto.html
> I have a saved Putty profile set up for the server I am connecting to, and that profile is pointing to the .ppk file.
> My TortoiseSVN working directory is checked out from svn+ssh://<username>@<profileName>/svnrep/<projectDir>/
> My servers config file is using the default config, and the SSH client in the TortoiseSVN Network settings tab is cleared out (therefore using the default TortoisePlink.exe).  I do not have a default profile set up in Putty, and I confirmed that HKEY_CURRENT_USER\Software\SimonTatham\Putty\Sessions\Default%20Settings does not exist in the registry.
>
> It seems as if TortoisePlink.exe just isn’t checking for Pageant sessions anymore.  Is this a bug?

Seems to be an interaction between PuTTY/Pageant versions. See this thread:

http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2798084

Simon

--
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2876957

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

Jason K. Carter

unread,
Nov 10, 2011, 10:34:23 AM11/10/11
to us...@tortoisesvn.tigris.org
Right you are, sir! Upgrading Pageant to version 0.61 fixed it.

Thanks,

Jason Carter
Software Engineer,
Microsoft Certified Technology Specialist
jkca...@dlsstudios.com
312-332-9110 x254

http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2798084

Simon

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2876957

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2876968

Reply all
Reply to author
Forward
0 new messages