1587 / 1587.github.com

0 stars 0 forks source link

sshd启动失败 sshd: fatal: daemon() failed: No such device #186

Open 1587 opened 7 years ago

1587 commented 7 years ago

http://www.linuxquestions.org/questions/linux-networking-3/sshd-fatal-daemon-failed-no-such-device-279664/ I had exactly the same problem:

the solution is in the /dev/null file. it should now be a regular file, which is not recommended some install script probably replaced the /dev/null with a file of the same name...

do the following: remove /dev/null and then: "mknod /dev/null c 1 3"

this will create the /dev/null and sshd should start as normal.

I also run slackware linux with the latest upgrade.