sourcetree import ssh key

Open Sourcetree and go to "Tools > Create or Import SSH Keys" 
	(this will open a PuTTY Key Generator window),
    Set the number of bits in a generated key to 2048 and click on "Generate".
    
 Once generated go to git server panel and navigate to 
 	"My account > Profile > SSH Keys" and click "Add a public key".
    
Copy the generated public key from the "PuTTY Key Generator" window
	("Public key for pasting into OpenSSH authorized_keys file:") to git panel and save it.

In the "PuTTY Key Generator" window enter a "Key passphrase" and "Confirm passphrase" and click 
	"Save private key" and Public Key (for other uses too). Make sure to save it somewhere where you can find it again.
    
Close the "PuTTY Key Generator" window and in SourceTree go to "Tools > Launch SSH Agent (Pageant)".
	You should be able to select your private key file here. (the one you just saved),
    Enter the passphrase and you're done.

Are there any code examples left?
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source