我正在从CentOS 5运行OpenSSH(4.3p2)的最新版本。当我尝试使用/etc/init.d/sshd start启动服务器/etc/init.d/sshd start ,这是bash的输出:
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没有提到这些指令之一。
HSSKnownHosts和StrictHostKeyChecking包含在RHEL / CentOS维护的OpenSSH版本中吗?
如果没有,我可以使用哪些解决方法? 我可以从源码安全地安装最新的稳定版本的OpenSSH吗? 我不愿意以纯文本的方式离开known_hosts。
尝试/ etc / ssh / ssh_config而不是sshd config。 这些设置似乎是为SSH客户端,而不是守护进程。