Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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
Comment

how to change ssh key for git

git config --local core.sshCommand "ssh -i ~/.ssh/id_rsa_example -F /dev/null"
Comment

PREVIOUS NEXT
Code Example
Shell :: cp all files except .git 
Shell :: env: ‘/etc/init.d/tomcat’: No such file or directory 
Shell :: linux wii emulator 
Shell :: install shutter for ubuntu screenshot 
Shell :: wget in backround 
Shell :: disbale knopwob dunst 
Shell :: gitconfig includeif example 
Shell :: start a service in bash if stopped 
Shell :: what is linux 
Shell :: heroku and github on termi 
Shell :: install intel-gpu-tools 
Shell :: open new terminal window with applescript 
Shell :: how to pip install on command prompt 
Shell :: node-gyp rebuild error ubuntu 20.04 
Shell :: git link on local project 
Shell :: delete git local branch 
Shell :: how to merge child branch to master branch in git 
Shell :: git fast forward 
Shell :: bash force exit 0 
Shell :: how to know if my linux is debian or fedora 
Shell :: bash array and for loop 
Shell :: bash date 
Shell :: wireguard turn on 
Shell :: gnome terminator 
Shell :: iptables linux 
Shell :: shopware 6 build storefront 
Shell :: kill process on mac 
Shell :: mac install glew 
Shell :: apt install edge 
Shell :: git unstage a file 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =