# 编辑当前用户的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
# 编辑当前用户的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
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。