Answers for "change default ssh key git"

0

git change ssh key

git config core.sshCommand "ssh -i ~/.ssh/id_rsa_example -F /dev/null"
git pull
git push

# Other way
edit .git/config file like:

[core]
	sshCommand = ssh -i ~/.ssh/id_rsa_example -F /dev/null
Posted by: Guest on January-13-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language