我刚刚获得了一台新服务器,并试图确保 ServerAliveInterval
足够长,这样我就不会一直被抛出。
root@server:~# sudo sshd -T
/etc/ssh/sshd_config: line 31: Bad configuration option: ServerAliveInterval
/etc/ssh/sshd_config: terminating, 1 bad configuration options
root@server:~# ssh -V
OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.7, OpenSSL 1.0.1f 6 Jan 2014
为什么即使我已经准备好并拥有 OpenSSH,我仍然会收到此错误
最佳答案
根据 sshd_config
的手册页,服务器选项称为 ClientAliveInterval
。
关于ubuntu - 错误的配置选项 : ServerAliveInterval,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37265279/