frp_ssh内网穿透

frps.ini文件

[common]
bind_port = 7000
docker run -d -v /home/frp:/conf --name frp-server-dashboard --net=host cloverzrg/frps-docker

frpc.ini文件

[common]
server_addr = x.x.x.x
server_port = 7000

[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 6000


ssh远程连接

ssh -oPort=6000 test@x.x.x.x //指定端口号登录