ubuntu – sshd preauth孩子被信号31终止

前端之家收集整理的这篇文章主要介绍了ubuntu – sshd preauth孩子被信号31终止前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我前几天升级到ubuntu 18.04,从那以后我再也不能ssh到我的机器了. auth.log告诉我这个:
Jan 15 08:41:15 pc207 sshd[5358]: Accepted publickey for oscar from 10.60.0.15 port 42004 ssh2: RSA SHA256:59dtkmxMKMJG22+SQEoo7D55JSr+xlFjRyLMclLY210
Jan 15 08:41:15 pc207 sshd[5358]: debug1: monitor_child_preauth: oscar has been authenticated by privileged process
Jan 15 08:41:16 pc207 sshd[5358]: debug1: monitor_read_log: child log fd closed
Jan 15 08:41:16 pc207 sshd[5358]: fatal: privsep_preauth: preauth child terminated by signal 31

虽然ssh -vvv localhost告诉我这个:

debug1: Authentication succeeded (publickey).
Authenticated to localhost ([127.0.0.1]:22).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug3: send packet: type 90
debug1: Requesting no-more-sessions@openssh.com
debug3: send packet: type 80
debug1: Entering interactive session.
debug1: pledge: network
debug3: send packet: type 1
packet_write_wait: Connection to 127.0.0.1 port 22: Broken pipe

Google告诉我将UsePrivilegeSeparation设置为yes,no或sandBox,但它什么都不做.我的/ etc / ssh / sshd未经修改.

编辑:我将我的个人笔记本电脑升级到18.04(HP Elitebook 8570w,完全与上面的固定式戴尔无关),当我尝试ssh到我的笔记本电脑时发生完全相同的错误; preauth孩子被信号31终止.

可能是防火墙,你可以测试一下:
sudo ufw allow 22

猜你在找的Ubuntu相关文章