Skip to content
Update ssh authored by umaumax's avatar umaumax
...@@ -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
``` ```
... ...
......