Skip to content

Instantly share code, notes, and snippets.

@conclusionlogic
Created June 30, 2020 23:51
Show Gist options
  • Save conclusionlogic/7f2998bfd58863caef6b03ed3196876e to your computer and use it in GitHub Desktop.
Save conclusionlogic/7f2998bfd58863caef6b03ed3196876e to your computer and use it in GitHub Desktop.
[custom git ssh key] use a cusom ssh key with git commands #bash #git #ssh
#!/usr/bin/env bash
$ GIT_SSH_COMMAND='ssh -i /root/.ssh/random_rsa' git pull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment