zl程序教程

您现在的位置是:首页 >  后端

当前栏目

SSH: sshd_config

ssh config sshd
2023-09-11 14:16:15 时间

 

ClientAliveInterval 60
ClientAliveCountMax 2
TCPKeepAlive yes

 

ClientAliveInterval: Sets a timeout interval in seconds after which if no data has been received from the client, sshd(8) will send a message through the encrypted channel to request a response from the client.

ClientAliveCountMax: Sets the number of client alive messages (see below) which may be sent without sshd(8) receiving any messages back from the client. If this threshold is reached while client alive messages are being sent, sshd will disconnect the client, terminating the session.