wget http://120.79.180.167:3000/upload/2025-10/frp_0.65.0_linux_amd64.tar.gz frpc.ini: [common] server_addr = 120.79.180.167 server_port = 7001 token = xxxx [ssh] type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = 52222 ./frpc -c frpc.ini nohup ./frpc -c frpc.ini & 显示【nohup: ignoring input and appending output to 'nohup.out'】内容即表示正常运行。 此时可先使用 Ctrl+C 关闭nohup,frpc依然会在后台运行,使用 jobs 命令查看后台运行的程序 ## 停止 frpc ps -ef |grep frpc|grep -v grep |awk '{print $2}'|xargs kill -9 安装ssh: # 更新包管理器 apt update # 安装 OpenSSH 服务器 apt install openssh-server -y # 尝试不同的服务名称 service ssh status service sshd status systemctl status ssh systemctl status sshd # 查看所有运行的服务 systemctl list-units --type=service | grep ssh