Mac SSH gitlab本地连接
访问中出现问题汇总:
ssh: connect to host 192.168.16.31 port 22: Connection refused
Permission denied (publickey).
fatal: Could not read from remote repository.
The authenticity of host 'gitlab.droi.com (10.20.40.19)' can't be established. 没有权限访问本地
解决:系统偏好设置-》共享-》远程登录选中即可
生成SSH KEY:
在上面目录中找到id_rsa.pub文件复制内容 将其添加到gitlab的SSH KEYS