Source Tree 用 ssh 連線
方法一
- 上方工具列 tools -> create or import ssh keys
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
- putty 按右鍵 add key -> 選擇 剛剛儲存的 private key
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
方法二
- ssh-keygen -t rsa -b 4096 -C 'example@demo.com' 會產生 public 和 private key
- 設定 .ssh/config (C:\Users\your_username.ssh)
- 打開 source tree -> Tools -> General -> SSH client Configuration -> ssh client 設定 openSSH 和 ssh key
- 到 github -> settings -> ssh and GPG keys -> new ssh key 將 public key 貼上
檔案結尾是 .pub
沒有的是 private
- 測試連線
ssh -T git@github.com