1,基本环境
系统版本
用户
centospub:x:502:502::/home/centospub:/bin/bash
密码
centospub
管理机
10.0.0.9
被管理机
10.0.0.10
2,管理机生成公钥和密钥
文件修改
3,将公钥传到被管理机
4,管理机通过公钥连被管理机
指定私钥
1,基本环境
系统版本
用户
centospub:x:502:502::/home/centospub:/bin/bash
密码
centospub
管理机
10.0.0.9
被管理机
10.0.0.10
2,管理机生成公钥和密钥
文件修改
3,将公钥传到被管理机
4,管理机通过公钥连被管理机
指定私钥