SSH启动报错:Missing privilege separation directory: /run/sshd

root@3f912011817b:/usr/sbin# /usr/sbin/sshd 
Missing privilege separation directory: /run/sshd

报错信息如以上

解决办法:
创建一个目录

root@3f912011817b:/usr/sbin# mkdir /run/sshd
root@3f912011817b:/usr/sbin# /usr/sbin/sshd 
root@3f912011817b:/usr/sbin# ps -e | grep ssh
  4137 ?        00:00:00 sshd

ok
就是这样,啊折磨我

相关文章

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注