Hello Wangwei and welcome to the Community!
Thanks for asking about adding SSH to Sourcetree. There is an article which will guide you through doing this. You may find this article at Generate and Load SSH Keys into SourceTree with PuTTY.
I hope this information proves helpful and you’re able to get Sourcetree configured.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events