密钥登陆远程服务器

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

生成公钥的方式

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

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

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

 

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

 

posted on 2021-04-26 17:11  毛无语666  阅读(128)  评论(0编辑  收藏  举报

导航