编辑/etc/ssh/sshd_config,将ClientAliveInterval 设置为300到900,即5-15分钟,将ClientAliveCountMax设置为0-3之间。
ClientAliveInterval 600
ClientAliveCountMax 2
交流を、より自然に Oops, not AI, but HI (human massive intelligence)
编辑/etc/ssh/sshd_config,将ClientAliveInterval 设置为300到900,即5-15分钟,将ClientAliveCountMax设置为0-3之间。
ClientAliveInterval 600
ClientAliveCountMax 2
nano /etc/ssh/sshd_config
Use ctrl+w to find “PasswordAuthentication” and then change it to “no”, save it.
...
PasswordAuthentication no