炒土豆丝 大佬有话说 :
22端口,密码登录,24位数强密码会被爆破掉么?
yc014t 应该很难破吧?
https://s2.loli.net/2022/11/03/EZeK7dVBLf9JvuY.png
torvalds 大佬有话说 :
还不如设置密钥
https://hostloc.com/static/image/common/sigline.gif
DeepL 账号 | Apple ID 小火箭 | Cloudflare 绑卡号 | TRX钱包激活
圈X成品号 | Github Copilot | 自助购买 https://go.eeit.one
xc55 大佬有话说 :
感觉不安全可以试试密钥登录
虎谷 大佬有话说 :
不会,,,但是这样子的话,日志很费空间。。。还是装2ban吧
wxhscc 大佬有话说 :
安装命令
wget https://raw.githubusercontent.com/FunctionClub/Fail2ban/master/fail2ban.sh && bash fail2ban.sh 2>&1 | tee fail2ban.log
第一步、输入端口 22
第二步、输入最多尝试输入SSH连接密码的次数 (建议2次)
第三步、输入每个恶意IP的封禁时间(单位:小时) 建议240 = 10天
不想用了,卸载命令
wget https://raw.githubusercontent.com/FunctionClub/Fail2ban/master/uninstall.sh && bash uninstall.sh
Oracle. 大佬有话说 :
我现在首选密钥登陆懒得设置密码https://cdn.jsdelivr.net/gh/master-of-forums/master-of-forums/public/images/patch.gif
gotohost 大佬有话说 :
换个端口立马就能清净 新开机第一件事就是换端口重启sshd
sah 大佬有话说 :
22端口换成其他很难吗:lol:lol:lol