1. ssh中免密登录

2. 修改ssh的配置文件sshd_config
a. 修改端口号为8888
先:cd/etc/sshd_config
修改port 8888
或 添加port 8888
保存退出
重启服务 systemctl restart sshd
关闭防火墙:systemctl stop firewalld
远程登陆测试一下: ssh @root192.168.21.131 -p8888
b. 修改不允许root远程登录

c. 允许特定用户sshuser1 sshuser2远程登录

3. ssh工作流程或者工作原理