密钥登陆远程服务器

https://jingyan.baidu.com/article/a378c960d5c317b32828300a.html

生成公钥的方式

备注:首先需要在本地安装Git 具体的安装步骤:https://jingyan.baidu.com/article/2f9b480df6cda741ca6cc246.html

Git安装步骤这里就不介绍了。

一、选中本机用户目录,邮件选择 Git bash here

二、进入到bash页面,输入命令ssh-keygen一直回车,直到生成image。此时可以看到用户目录下多了个.ssh文件夹,私钥公钥就在该目录下。

原文地址:https://www.cnblogs.com/maowuyu-xb/p/14705566.html