我正在读“LPIC-1 Linux Professional Institue Certificate Guide”一书,并遇到了这样一个关于sshd的声明。如果对SSH配置进行更改,可能需要将重新加载或重新启动选项传递给启动脚本,如/etc/init.d/sshd重新加载。(第5章更详细地介绍了启动脚本。)但是,我发现ssh而不是守护进程sshd。
$ ls /etc/init.d | grep <
在我的Linux服务器(Ubuntu18.04.6LTS)上,我设置了在/etc/ssh/sshd_config中重新加载配置
sudo service sshdsshd[30049]: error: maximum authentication attempts exceeded for root from 11.222.111.22 port 16138 ssh2