相关问题
- Is shmid returned by shmget() unique across proces
- how to get running process information in java?
- Error building gcc 4.8.3 from source: libstdc++.so
- Why should we check WIFEXITED after wait in order
- Null-terminated string, opening file for reading
搞定了!解决过程如下。
1)停止 sshd 服务。
2)手动 debug 模式运行 sshd 。
3)运行失败,报错:
4)添加
-h /etc/ssh/ssh_host_rsa_key
参数消除第1个报错。5)运行命令
mkdir systemd-tmpfiles --create
消除第2个报错。6)用下面的命令成功运行 ssh 。
7)客户端 ssh 登录,手动 debug 模式运行的 sshd 报错。
8)从上面的报错信息找到线索,通过下面的操作解决了问题。