frp icon indicating copy to clipboard operation
frp copied to clipboard

多个 SSH 服务复用同一端口,运行报错

Open fsleo opened this issue 1 year ago • 0 comments

Bug Description

ssh -o 'proxycommand socat - PROXY:106.55.x.x:%h:%p,proxyport=5002' [email protected]

另外customDomains这个是一定要做a记录的域名吗?

frpc Version

0.54.0

frps Version

0.54.0

System Architecture

linux/aarch64

Configurations

frps.toml:

bindPort = 7000 tcpmuxHTTPConnectPort = 5002

frpc.toml: serverAddr = "106.55.x.x" serverPort = 7000

[[proxies]] name = "ssh1" type = "tcpmux" multiplexer = "httpconnect" customDomains = ["pi.dev.cn"] localIP = "127.0.0.1" localPort = 22

Logs

zsh:1: command not found: socat kex_exchange_identification: Connection closed by remote host Connection closed by UNKNOWN port 65535

Steps to reproduce

ssh -o 'proxycommand socat - PROXY:106.55.x.x:%h:%p,proxyport=5002' [email protected]

Affected area

  • [ ] Docs
  • [ ] Installation
  • [ ] Performance and Scalability
  • [ ] Security
  • [ ] User Experience
  • [X] Test and Release
  • [ ] Developer Infrastructure
  • [ ] Client Plugin
  • [ ] Server Plugin
  • [ ] Extensions
  • [ ] Others

fsleo avatar Feb 21 '24 09:02 fsleo