ssh-keygen -t rsa -C "memo"- 在 gitlab 中添加
ssk-key内容为.ssh/id_rsa.pub文件内容 - 若
id_rsa文件是被改名的, 要在.ssh/config中添加指向说明
指向说明示例:
Host 192.168.150.162
RSAAuthentication yes
IdentityFile ~/.ssh/gitlab_rsa
ssh-keygen -t rsa -C "memo"ssk-key 内容为 .ssh/id_rsa.pub 文件内容id_rsa 文件是被改名的, 要在 .ssh/config 中添加指向说明指向说明示例:
Host 192.168.150.162
RSAAuthentication yes
IdentityFile ~/.ssh/gitlab_rsa