Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bad configuration option: ServerAliveInterval

I have just got a new server and was trying to make sure the ServerAliveInterval was long enough so I didn't keep getting thrown out.

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

Why do I still get this error even though I'm up to do and have OpenSSH

like image 205
Jamie Hutber Avatar asked Oct 15 '25 08:10

Jamie Hutber


1 Answers

Server option is called ClientAliveInterval as per manual page for sshd_config.

like image 73
Jakuje Avatar answered Oct 18 '25 09:10

Jakuje



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!