curena
11/10/2015 - 10:01 PM

Git clone while specifying an SSH key.

Git clone while specifying an SSH key.

ssh-agent bash -c 'ssh-add /home/christoffer/ssh_keys/theuser; git clone git@github.com:TheUser/TheProject.git'