安装Google play安装termuxpkg install shhd shhd //启动sshd passwd //设置密码 whoami //查询sshd 的用户名称 port //8022 设置开机启动shhd等命令nano ~/.bashrc if ! pgrep "sshd" >/dev/null; then sshd echo "SSH 已启动 (端口: 8022)" fi 最后修改:2025 年 05 月 21 日 © 允许规范转载 赞 如果觉得我的文章对你有用,请随意赞赏