
SSH(SSH-Keygen)设置免密登录到远程服务器的步骤
5星
- 浏览量: 0
- 大小:None
- 文件类型:PDF
简介:
本指南详细介绍了如何使用SSH Keygen工具配置从本地机器到远程服务器的免密码自动登录,提高操作便捷性和安全性。
环境:本地主机:ha01eth0: 192.168.1.100 对外IP地址;远程主机:ha02eth0: 192.168.1.200 对外IP地址。
在本地主机ha01上的配置如下:
```
[root@ha01 ]# cd etc/ssh
[root@ha01 ssh]# ssh-keygen -t rsa -N (该步骤生成key公私密钥对,-N “”表示密钥对短语为空)
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.ssh/id_rsa):
Your identifier has been saved in /root/.ssh/id_rsa.
```
全部评论 (0)
还没有任何评论哟~


