Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Sourcetree uses openssh when configured to use putty/plink

Leon Schmetz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 4, 2024

While configuring a laptop (windows11) for a new colleague, I again am struggling  setting up Sourcetree.  Everything seems to work fine when I start sourcetree as administrator.

When started as a regular user sourcetree fails to validate a remote repository because it wants to spawn an OpenSSH process, which is strange as I have configured it to use plink.

So why is sourcetree using openssh when I have configured it for putty/plink?

1 answer

0 votes
Brant Schroeder
Community Champion
May 4, 2026

@Leon Schmetz welcome to the Atlassian community

To force Sourcetree to respect your PuTTY/plink setup, follow these steps:

 

  • Find your plink.exe path. It is usually located at:
    C:\Users\<YourUser>\AppData\Local\Atlassian\SourceTree\tools\putty\plink.exe
  • Open the Windows Start Menu, type "Edit the system environment variables", and open it.
  • Click Environment Variables.
  • Under System variables (or User variables), click New.
  • Variable name: GIT_SSH
  • Variable value: [The full path to your plink.exe]
  • Restart Sourcetree for the change to take effect.

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events