Loading... # SSH Connection Client Timeout Issue ## a) Server config ```bash # vi /etc/ssh/sshd_config # send requset per 60s ServerAliveInterval 60 # no reponse over 3 times will be halted ServerAliveCountMax 3 ``` ## b) Client config ```bash # vi /etc/ssh/ssh_config # send requset per 60s ServerAliveInterval 60 # no reponse over 3 times will be halted ServerAliveCountMax 3 ``` ## c) Problem > warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory ```bash sudo vi /etc/ssh/ssh_config # comment it # SendEnv LANG LC_* ``` Reference : https://www.xiebruce.top/650.html © Allow specification reprint Support Appreciate the author AliPayWeChat Like If you think my article is useful to you, please feel free to appreciate