結論
一発
$ ssh-agent $(ssh-add 秘密鍵のパス; git clone リモートリポジトリ)
参照
How to specify the private SSH-key to use when executing shell command on Git?
More than 3 years have passed since last update.
一発
$ ssh-agent $(ssh-add 秘密鍵のパス; git clone リモートリポジトリ)
How to specify the private SSH-key to use when executing shell command on Git?
Register as a new user and use Qiita more conveniently