ssh连接gitlab,免密码登录

第一步:检查是否存在SSH秘钥 1.Enter ls -al ~/.ssh to see if existing SSH keys are present1.0 2.如果显示ls: 无法访问/root/work/.ssh: 没有那个文件或目录 表示目录不存在,ssh不存在 第二步:生成 SSH key. 1.输入指令: $ ssh-keygen -t rsa -C "[email protecte
相关文章
相关标签/搜索