-
ssh-keygen -t rsa -f ~/.ssh/id_rsa.yangyang22
-
/.ssh/config中指定各个用户的密钥地址 chmod 644 /.ssh/config(*/.ssh/config文件的权限必须是644*)
-
Host icode.xxxx.com
User yangyang22
IdentityFile ~/.ssh/id_rsa.yangyang22Host icode.xxxx.com
User yinyan
IdentityFile ~/.ssh/id_rsa.yinyan -
把自己的ssh公钥(.pub文件内容)贴到icode上,在iCode右上角>个人设置>添加SSH Keys