Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Start Pageant Using Private Key File with No Extension

Shawn Quillman August 18, 2016

I'm using SourceTree 1.9.6.1 on Windows 7 Enterprise SP1.

I have a private key file that I generated with PuttyGen and saved to a file with no file extension.  I can load the file fine from Pageant and SSH functions in SourceTree work fine after doing so.

I have configured the SSH Key option in SourceTree with the path to my PK file.

image2016-8-18 16:19:11.png

However, the key is not loaded into Pageant when SourceTree launches Pageant during startup.  I am also prompted to load the key file if Pageant is not running and I use the Launch SSH Agent... function from the Tools menu.  If I say Yes and browse to the file, the SSH Key option is automatically configured with the correct path to the extensionless file, as I would expect.

If I add the .ppk extension to the file everything works as expected.  Pageant is launched during SourceTree startup and my key file is loaded by Pageant.  Also, launching Pageant from the command line with the path to the extensionless file works fine.

This is clearly not high priority issue, rather a minor annoyance, but I thought I would submit something on it anyway.

Edit:

Bug reported: https://jira.atlassian.com/browse/SRCTREEWIN-6187

1 answer

1 accepted

1 vote
Answer accepted
Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 18, 2016

Have you tried launching pageant from the command line using a parameter to have it immediately load the key? This is probably what SourceTree does behind the scenes, and if pageant doesn't load the key when specified on the command line, it's a pageant issue, not a SourceTree one.

However, if that works fine, you should submit a bug report to jira.atlassian.com.

If you want to quit relying on SourceTree to launch Pageant, you can follow these steps to get Pageant to launch with your key: http://blog.shvetsov.com/2010/03/making-pageant-automatically-load-keys.html

Shawn Quillman August 18, 2016

Yes, mentioned the command line launch in the post.  I guess I should have looked deeper into submitting bug reports!  I'll do that.  Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events