自用VPS一键脚本工具箱,一个脚本搞定大部分需求,废话不多说,上脚本
curl -fsSL https://raw.githubusercontent.com/eooce/ssh_tool/main/ssh_tool.sh -o ssh_tool.sh && chmod +x ssh_tool.sh && ./ssh_tool.sh
或
wget -qO ssh_tool.sh https://raw.githubusercontent.com/eooce/ssh_tool/main/ssh_tool.sh && chmod +x ssh_tool.sh && ./ssh_tool.sh
若提示curl或wget未找到,说明vps上未安装此依赖,安装后再运行即可,对应系统安装命令如下:
Ubuntu/Debian:apt-get install -y curl wget
Alpine:apk add curl wget
Fedora:dnf install -y curl wget
CentOS/Rocky/Almalinux/Oracle-linux/Amazon-linux:yum install -y curl wget
原文链接:https://www.nodeseek.com/post-58421-1