Notice: 函数 WP_Scripts::localize 的调用方法不正确$l10n 参数必须是一个数组。若要将任意数据传递给脚本,请改用 wp_add_inline_script() 函数。 请查阅调试 WordPress来获取更多信息。 (这个消息是在 5.7.0 版本添加的。) in /data/www/appblog/wp-includes/functions.php on line 6131

SSH修改端口防暴力破解

# passwd  //修改密码
# ssh -V
# vim /etc/ssh/sshd_config
# systemctl restart sshd

注意同时开启云服务器防火墙端口

# If you want to change the port on a SELinux system, you have to tell
# SELinux about this change.
# semanage port -a -t ssh_port_t -p tcp #PORTNUMBER
#
#Port 22
Port 10086
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::

也可使用禁止密码登陆,只能使用密钥登陆

上一篇 CentOS下PHP make报错PEAR package PHP_Archive not installed
下一篇 Linux下查看磁盘占用空间