启动命令service sshd resstart
报错:Job for ssh.service failed because the control process exited with error code
一般是配置文件里内容写错了。可以使用命令:# /usr/sbin/sshd -T
运行该命令后会告知 /etc/ssh/sshd_config文件哪一行有错误。按照提示修改即可。
linux安装sftp步骤可参考文章:https://blog.csdn.net/qq_35623011/article/details/85003109
linux安装sftp后启动SSH报错:Job for ssh.service failed because the control process exited with error code
最新推荐文章于 2023-07-04 21:39:53 发布