vi ~/.ssh/config
Host xxx.com
Hostname xxx.com
User xxx
port 22
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
复制代码
转载于:https://juejin.im/post/5c42fb0f5188252552516b0c
vi ~/.ssh/config
Host xxx.com
Hostname xxx.com
User xxx
port 22
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
复制代码
转载于:https://juejin.im/post/5c42fb0f5188252552516b0c