Use specific SSH key in git
Do (or ad in ~/.bashrc
) next:
export GIT_SSH_COMMAND="ssh -i /root/.ssh/deployment_key"
Then git
will use this key for actions that work with remote
Do (or ad in ~/.bashrc
) next:
export GIT_SSH_COMMAND="ssh -i /root/.ssh/deployment_key"
Then git
will use this key for actions that work with remote