第一步,进入sshd配置文件
vi /etc/ssh/sshd_config
Port 22
PermitEmptyPasswords no
PasswordAuthentication yes
设置好后保存退出
分别执行以下命令
systemctl restart sshd 重启ssh服务
systemctl enable sshd.service 允许开机自动启动
systemctl stop firewalld.service 关闭运行的防火墙
完成上述步骤后,可以使用xshell进行ssh服务了
因篇幅问题不能全部显示,请点此查看更多更全内容
Copyright © 2019- oldu.cn 版权所有 浙ICP备2024123271号-1
违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务