9
5

More than 3 years have passed since last update.

git clone時にssh秘密鍵を指定する

Posted at
git -c core.sshCommand="ssh -i ~/.ssh/YOUR_RSA" clone git@github.com:YOUR_NAME/YOUR_REPO.git

参考
https://stackoverflow.com/questions/4565700/how-to-specify-the-private-ssh-key-to-use-when-executing-shell-command-on-git

9
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
5