Rob*_*Rob 0 ssh configuration known-hosts centos5
我正在运行 CentOS 5 的最新版本的 OpenSSH (4.3p2)。当我尝试使用 启动服务器时/etc/init.d/sshd start,这是 bash 的输出:
Run Code Online (Sandbox Code Playgroud)Starting sshd: /etc/ssh/sshd_config: line 130: Bad configuration option: HashKnownHosts /etc/ssh/sshd_config: line 134: Bad configuration option: StrictHostKeyChecking /etc/ssh/sshd_config: terminating, 2 bad configuration options
我的 sshd 手册页表明它支持散列的 known_hosts 文件,但我的 sshd_config 手册页没有提到这些指令中的任何一个。
HashKnownHosts和StrictHostKeyChecking是否包含在 OpenSSH 的 RHEL / CentOS 维护版本中?
如果没有,我可以使用哪些解决方法?我可以安全地从源代码安装 OpenSSH 的最新稳定版本吗?我不愿意以纯文本形式留下 known_hosts。