SourceTree on Windows: How to connect to SSH?

前端 未结 4 944
一生所求
一生所求 2021-02-01 03:44

I have an SSH access to my web hosting, it works great with PuTTY (I just had to enter my domain, username and password), however it seems much more complicated with SourceTree.

4条回答
  •  生来不讨喜
    2021-02-01 04:27

    1. Generate SSH key, private and public
    • Source Tree > Tools > Create or Import SSH Keys
    1. Putty
    • Click Generate
    • Save public key under .ssh folder
    • Save private key under .ssh folder
    1. Add private key to Pageant, running in background
    2. Clone the git project using SSH key

提交回复
热议问题