Start Pageant Using Private Key File with No Extension

I'm using SourceTree 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.


Bug reported:

1 answer

1 accepted

1 vote
Accepted answer

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

If you want to quit relying on SourceTree to launch Pageant, you can follow these steps to get Pageant to launch with your key:

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
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

946 views 3 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you