mirror of
https://github.com/kejilion/sh.git
synced 2025-10-03 23:34:20 +08:00
Compare commits
5 commits
94933ca065
...
377e3c090e
Author | SHA1 | Date | |
---|---|---|---|
|
377e3c090e | ||
|
5d8ab0d1c3 | ||
|
f49992dc32 | ||
|
5f475e9fef | ||
|
1f1f51cb6e |
3 changed files with 7 additions and 2 deletions
|
@ -3063,6 +3063,8 @@ f2b_install_sshd() {
|
|||
fi
|
||||
|
||||
rm -f /path/to/fail2ban/config/fail2ban/jail.d/sshd.conf
|
||||
sed -i 's/action = %(action_)s/action = iptables-multiport/g' /path/to/fail2ban/config/fail2ban/jail.conf
|
||||
|
||||
}
|
||||
|
||||
f2b_sshd() {
|
||||
|
@ -7766,7 +7768,7 @@ linux_Oracle() {
|
|||
4)
|
||||
clear
|
||||
send_stats "R探长开机脚本"
|
||||
bash <(wget -qO- https://github.com/Yohann0617/oci-helper/releases/latest/download/sh_oci-helper_install.sh)
|
||||
bash <(wget -qO- ${gh_proxy}github.com/Yohann0617/oci-helper/releases/latest/download/sh_oci-helper_install.sh)
|
||||
;;
|
||||
5)
|
||||
clear
|
||||
|
|
|
@ -3063,6 +3063,8 @@ f2b_install_sshd() {
|
|||
fi
|
||||
|
||||
rm -f /path/to/fail2ban/config/fail2ban/jail.d/sshd.conf
|
||||
sed -i 's/action = %(action_)s/action = iptables-multiport/g' /path/to/fail2ban/config/fail2ban/jail.conf
|
||||
|
||||
}
|
||||
|
||||
f2b_sshd() {
|
||||
|
@ -7766,7 +7768,7 @@ linux_Oracle() {
|
|||
4)
|
||||
clear
|
||||
send_stats "R探长开机脚本"
|
||||
bash <(wget -qO- https://github.com/Yohann0617/oci-helper/releases/latest/download/sh_oci-helper_install.sh)
|
||||
bash <(wget -qO- ${gh_proxy}github.com/Yohann0617/oci-helper/releases/latest/download/sh_oci-helper_install.sh)
|
||||
;;
|
||||
5)
|
||||
clear
|
||||
|
|
|
@ -1312,5 +1312,6 @@ k快捷命令增加了 k info 系统信息快速查询。
|
|||
2025-09-25 v4.1.6
|
||||
应用市场新增了Syncthing开源的点对点文件同步工具的安装及使用。
|
||||
甲骨文云合集中增加大佬的R探长开机脚本,非常感谢大佬脚本。
|
||||
又来修复SSH防御fail2ban加载ssh规则报错的问题。
|
||||
------------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue