linux centos设置密钥而且使用密钥登陆

服务器端生产密钥(一直默认回车就好,固然你也能够从新命名): [root@localhost ~]# ssh-keygen -t rsashell 而后会在 root目录下自动生产.ssh目录和公钥(id_rsa.pub)私钥(id_rsa) [root@localhost ~]# cd /root/.ssh [root@localhost .ssh]# ll total 8 -rw——- 1 r
相关文章
相关标签/搜索