写一个~/.ssh/config文件
# gitee
Host gitee.com
HostName gitee.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/gitee
# github Waiting write..
host是指ssh gitee.com时gitee实际上指的host
PreferredAuthentication 是表明使用的验证方式
IdentifyFile 是指文件验证的方式
该文件的注释可用#为开始