Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Changes
Page history
Update ssh
authored
Oct 25, 2023
by
umaumax
Show whitespace changes
Inline
Side-by-side
ssh.md
View page @
eec00692
...
@@ -358,7 +358,10 @@ Bad key file XXX_id_rsa: No such file or directory
...
@@ -358,7 +358,10 @@ Bad key file XXX_id_rsa: No such file or directory
### ⭐ssh接続先でgit cloneしたい
### ⭐ssh接続先でgit cloneしたい
1.
ホストマシンでssh-agentに秘密鍵を追加する
1.
ホストマシンでssh-agentに秘密鍵を追加する
下記のコマンドはシェルごとに実行する必要がある
```
bash
```
bash
eval
$(
ssh-agent
)
ssh-add ~/.ssh/github_id_rsa
ssh-add ~/.ssh/github_id_rsa
ssh-add
-L
ssh-add
-L
```
```
...
...
...
...