git clone with ssh key
#!/bin/bash GIT_SSH_COMMAND="ssh -i ~/.ssh/my_key -F /dev/null" git clone git@github.com:foobar/hogehoge.git