# cat .ssh/config
Host *
UseKeychain yes
AddKeysToAgent yes
IdentityFile ~/.ssh/id_rsa
# 验证命令
ssh -T git@gitlab.miduchina.com
# cat .ssh/config
Host *
UseKeychain yes
AddKeysToAgent yes
IdentityFile ~/.ssh/id_rsa
# 验证命令
ssh -T git@gitlab.miduchina.com