资源与工具汇总

FOFA 搜索

https://fofa.info/result?qbase64=ZG9tYWluPSJuaWNldGsudG9wIg%3D%3D

美国静态住宅代理 IP

2025年最佳美国静态住宅代理IP

IP 代理服务商

IPIDEA
https://www.ipidea.net/ucenter
账号:53@cM

80元/月,价格较高

SSH 连接示例

ssh -i /home/tokyo.pem root@192.168.1.23

Ubuntu 开启 root 登录

echo root:aA123456 | sudo chpasswd root
sudo sed -i 's/^#\?PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config
sudo sed -i 's/^#\?PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config
sudo reboot

系统更新

apt update

TCP 拥塞控制算法

查看当前算法

sysctl net.ipv4.tcp_congestion_control

开启 BBR

echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p

X-ui 面板一键安装

bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)

端口转发工具安装

bash <(curl -fsSL https://raw.githubusercontent.com/arloor/iptablesUtils/master/natcfg.sh)

任务

- `task GlaDOS0224/checkin.py`

SSH 配置与服务器优化

允许 root 登录并开启密码认证

sudo sed -i 's/^#\?PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config
sudo sed -i 's/^#\?PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config
sudo systemctl restart ssh

查看当前 SSH 配置(过滤注释和空行)

cat /etc/ssh/sshd_config | grep -Ev '^#|^$'

重启服务器

sudo reboot

使用 root 登录

ssh root@172.31.200.129

修改 SSH 端口

sudo vi /etc/ssh/sshd_config

修改配置:

Port 2223

使用新端口登录(禁用公钥认证)

ssh -p 2223 -o PubkeyAuthentication=no root@172.31.200.129
⚠️ 注意:尝试开启 PubkeyAuthentication yes 后无法 SSH 登录,已关闭。

切换到 root 用户并更新系统

sudo -i
apt update

TCP 拥塞控制算法

查看当前算法

sysctl net.ipv4.tcp_congestion_control

开启 BBR

echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p

X-ui 面板一键安装

bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)

端口转发工具安装

bash <(curl -fsSL https://raw.githubusercontent.com/arloor/iptablesUtils/master/natcfg.sh)

标签: none

添加新评论