使用ssh-keygen生成ssh公钥和私钥

 

默认是在用户目录下:

windows一般为 c:\User\username\.ssh下

linux一般为 /home/username/.ssh

生成的命令如下:

ssh-keygen -t rsa -C "[email protected]"

其中[email protected]可以随意些,一般建议包含@

猜你喜欢

转载自blog.csdn.net/aa19891204/article/details/83037371