In my case, this was caused by a udev problem , there was no /dev/tty device node.
The solution for me was just:
sudo mknod -m 666 /dev/tty c 5 0
then ssh is fine.
the root cause is system mounted read only by kinit
when changed to RW, the udev can create /dev/tty* automatically.
本文讨论了由udev问题引发的系统中缺少/dev/tty设备节点的问题,并提供了通过sudo命令创建该节点的解决方案。问题的根本原因是系统在使用kinit进行身份验证后被挂载为只读状态,当切换到可写状态后,udev能够自动创建/dev/tty*设备。

2734

被折叠的 条评论
为什么被折叠?



