微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

原文地址:https://www.jb51.cc/ubuntu/347437.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐