11-13-周四_14-38-11
This commit is contained in:
@@ -111,7 +111,7 @@ sshd 服务的配置信息保存在 `/etc/ssh/sshd_config` 文件中。运维人
|
|||||||
在客户端主机中生成**密钥对**
|
在客户端主机中生成**密钥对**
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
[root@localhost ~]# ssh-keygen
|
[root@localhost ~]# ssh-keygen -t rsa -C "123456@qq.com"
|
||||||
# 为简化操作请一路向北
|
# 为简化操作请一路向北
|
||||||
|
|
||||||
# 查看/root/.ssh目录中,是否存在id_rsa(私钥)和id_rsa.pub(公钥)
|
# 查看/root/.ssh目录中,是否存在id_rsa(私钥)和id_rsa.pub(公钥)
|
||||||
|
|||||||
Reference in New Issue
Block a user