[Git]建立SSH與PUSH教學

回覆文章
Lexaul
文章: 231
註冊時間: 2019-10-18, 14:28

[Git]建立SSH與PUSH教學

文章 Lexaul » 2021-04-27, 16:00

代碼: 選擇全部

$ ssh-keygen                                   # 產生金鑰
Generating public/private rsa key pair.
Enter file in which to save the key (/home/jaycelin/.ssh/id_rsa):   # 金鑰存放路徑,直接按 Enter
Created directory '/home/jaycelin/.ssh'.
Enter passphrase (empty for no passphrase):    # 密碼,可設定可不設定,設定的話每次上傳會多需要輸入一次密碼
Enter same passphrase again:                   # 再輸入一次密碼
The key fingerprint is:                        # 之後會顯示你的 fingerprint,到這裡就完成 key 的產生了
[email protected]
github.com/Lexaul

回覆文章