- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
前几天我升级到 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 child 被信号 31 终止。
最佳答案
希望可以帮助遇到同样问题的人,这个问题让我苦苦挣扎了至少两周......最后通过修改“sandbox”值为“yes”来修复它,我不知道逻辑,如果有人可以帮助解释为什么会这样,我们将不胜感激:在 sshd 配置文件(/etc/ssh/sshd_config)中,你可以找到这一行:
来自:
UsePrivilegeSeparation 沙箱 # 新安装的默认值。
到
UsePrivilegeSeparation 是
关于ubuntu - sshd preauth child 被信号 31 终止,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48255696/
我使用 SSH 连接到机器。没有密码访问,只有一个现有的 SSH key 有效。 我需要创建一个我喜欢这样做的新 key (production.key,production.key.pub),而无需
项目: https://github.com/spring-projects/spring-security/tree/master/samples/preauth-xml 尝试运行上面的项目时,出现
前几天我升级到 ubuntu 18.04,从那以后我就不能再 ssh 到我的机器了。 auth.log 告诉我这个: Jan 15 08:41:15 pc207 sshd[5358]: Accepte
我正在尝试执行 ssh localhost 在 Ubuntu 14.04 LTS 上,但是正在获取 Permission denied (publickey). 这是一些调试信息... 首先,我在
我是一名优秀的程序员,十分优秀!