配置多个git用的ssh key
参考 http://www.sail.name/2018/12/16/ssh-config-of-mac/
有一点注意 Host 的名字和 HostName改为一致. 因为从git仓库复制的地址是全程.
Host code.aliyun.com
HostName code.aliyun.com
User git
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa_aliyuncode
本文来自博客园,作者:飞云~风之谷,转载请注明原文链接:https://www.cnblogs.com/cnscud/p/15020721.html
浙公网安备 33010602011771号