赞
踩
服务器添加ssh
ls ~/.ssh/
添加ssh-key
ssh-keygen -t rsa -b 2048 -C "test@example.com"
然后输出
Enter file in which to save the key (/home/xxx/.ssh/id_rsa):
直接回车,会将key保存在默认文件中
下面这两步才是输入密码
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
进入gitlab
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。