git 在pull/push指定密钥文件
时间:2020-03-07 10:27:25
收藏:0
阅读:283
# 编辑当前用户的ssh config 文件 vim ~/.ssh/config #每一组由 Host 开始 Host gitlab.com # 这里的ip/domain 是你的主机名,写ip或者域名 Hostname altssh.gitlab.com User git Port 443 PreferredAuthentications publickey IdentityFile ~/.ssh/gitlab
原文:https://www.cnblogs.com/cidgur/p/12432280.html
评论(0)