1、首先进入 /etc/ssh 目录
2、编辑文件sshd_config
3、打开端口Port 22,配置ListenAddress 地址
4、打开PasswordAuthentication yes
5、systemctl restart sshd.service 重启ssh服务
1、首先进入 /etc/ssh 目录
2、编辑文件sshd_config
3、打开端口Port 22,配置ListenAddress 地址
4、打开PasswordAuthentication yes
5、systemctl restart sshd.service 重启ssh服务