我尝试按照这个指南生成ssh密钥,以便使用gitlab。
在生成密钥之前,我必须检查是否已经存在一个密钥,方法如下:
如果出现这种情况,我必须生成密钥:
下一步是什么?因为指南没有提到如果我收到这个消息应该怎么办。
编辑:我已经尝试过了。
在生成密钥之前,我必须检查是否已经存在一个密钥,方法如下:
type %userprofile%\.ssh\id_rsa.pub
如果出现这种情况,我必须生成密钥:
the system cannot find the path specified
下一步是什么?因为指南没有提到如果我收到这个消息应该怎么办。
编辑:我已经尝试过了。
ssh-keygen -t rsa -C "email@example.com"
And I get
'ssh-keygen' is not recognized as an internal or external command,
operable program or batch file.
编辑2:我使用的是Windows操作系统。
ssh-keygen -t rsa -C "email@example.com"
。 - Sajib Khanssh-keygen
通常是*nix工具。 - Asaphtype
命令只是在控制台窗口中显示文本文件的内容,该消息意味着没有这样的文件... - aschipfl