sshd 无法开启
1.开启sshd: systemctl start sshd
2.查看sshd状态 systemctl status sshd.service
显示sshd服务开启失败
解决方法:
1.输入 sshd -t 进行检查
报错信息:Bad configuration options:$@OpenBSD
表示配置文件错误:
第一行的“#”被我删掉了 <流汗>
加上“#”
重新开启sshd
检查sshd状态:
sshd服务已经开启。
sshd 无法开启
1.开启sshd: systemctl start sshd
2.查看sshd状态 systemctl status sshd.service
显示sshd服务开启失败
解决方法:
1.输入 sshd -t 进行检查
报错信息:Bad configuration options:$@OpenBSD
表示配置文件错误:
第一行的“#”被我删掉了 <流汗>
加上“#”
重新开启sshd
检查sshd状态:
sshd服务已经开启。