[GH-ISSUE #4868] [Feature Request] 如何使用 tcpmux ssh 远程连接 #3839

Closed
opened 2026-05-05 14:27:19 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @pxysea on GitHub (Jul 3, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4868

Describe the feature request

服务端rps.toml 如下:```
bindAddr = "0.0.0.0"
bindPort = 7000
vhostHTTPPort = 8080
vhostHTTPSPort = 8443
subdomainHost = "xx.com"

tcpmuxHTTPConnectPort = 5002

auth.method = "xxx"
auth.token = "xxxx"

客户端配置frpc.toml 如下:```
serverAddr = "xxx"
serverPort = 7000

auth.method = "token"

auth.token = "xxxx"

[[proxies]]
name = "ssh-tcp"
type = "tcpmux"
multiplexer = "httpconnect"
localIP = "127.0.0.1"
localPort = 22
subdomain = "ssh"

通过 ssh 无法连接,是哪里出错了吗? 谢谢

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @pxysea on GitHub (Jul 3, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/4868 ### Describe the feature request 服务端rps.toml 如下:``` bindAddr = "0.0.0.0" bindPort = 7000 vhostHTTPPort = 8080 vhostHTTPSPort = 8443 subdomainHost = "xx.com" tcpmuxHTTPConnectPort = 5002 auth.method = "xxx" auth.token = "xxxx" ``` 客户端配置frpc.toml 如下:``` serverAddr = "xxx" serverPort = 7000 auth.method = "token" auth.token = "xxxx" [[proxies]] name = "ssh-tcp" type = "tcpmux" multiplexer = "httpconnect" localIP = "127.0.0.1" localPort = 22 subdomain = "ssh" ``` 通过 ssh 无法连接,是哪里出错了吗? 谢谢 ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 14:27:19 -06:00
Author
Owner

@groot-guo commented on GitHub (Jul 13, 2025):

你至少应该给出示例,你是怎么请求的

<!-- gh-comment-id:3066574027 --> @groot-guo commented on GitHub (Jul 13, 2025): 你至少应该给出示例,你是怎么请求的
Author
Owner

@github-actions[bot] commented on GitHub (Jul 28, 2025):

Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.

<!-- gh-comment-id:3124858857 --> @github-actions[bot] commented on GitHub (Jul 28, 2025): Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#3839
No description provided.