mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3513] 搭建xtcp后,可以通过windows命令提示符进行ssh连接,但是不能通过mobaxterm的ssh连接 #2803
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#2803
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Canvas-Atomer on GitHub (Jul 2, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3513
Bug Description
包括mobaxterm、windows自带的远程桌面都无法连接。不清楚是不是配置文件里还需要别的项。
frpc Version
0.50.0
frps Version
0.50.0
System Architecture
visitor:windows/amd64; server:linux/amd64
Configurations
访客端frpc.ini
[common]
server_addr=[hidden]
server_port=7000
token=abc123
[p2p_tcp_visitor]
role=visitor
type=xtcp
server_name=p2p_tcp
sk=abcdefg
bind_addr=127.0.0.1
bind_port=3389
服务端frpc.ini
[common]
server_addr=[hidden]
server_port=7000
token=abc123
[ssh]
type=tcp
local_ip=127.0.0.1
local_port=3389
remote_port=33389
[p2p_tcp]
type=xtcp
sk=abcdefg
local_ip=127.0.0.1
local_port=22
公网服务器frps.ini
[common]
#log_file = ./frps.log
#log_level = info
#log_max_days = 3
bind_port = 7000
bind_udp_port = 7001
kcp_bind_port - 7000
token = abc123
dashboard_port = 7500
dashboard_user = user
dashboard_pwd = password
vhost_http_port = 10080
vhost_https_port = 10443
Logs
No response
Steps to reproduce
...
Affected area
@Becods commented on GitHub (Jul 3, 2023):
标题
可以通过windows命令提示符进行ssh连接正文
包括mobaxterm、windows自带的远程桌面都无法连接配置
sshtype=tcp所以你真正的问题是什么
@Canvas-Atomer commented on GitHub (Jul 4, 2023):
只通过tcp,我可以通过访问我的公网服务器地址和特定端口来访问远程桌面。按我的理解通过udp打洞之后,可以通过我绑定的127.0.0.1访问远程桌面,但是不行。命令行我可以用ssh进行p2p连接,说明连接应该没问题,就是不知道远程桌面和mobaxterm这些软件里为什么不能成功连接。
@Guation commented on GitHub (Jul 30, 2023):
不知道这中间是不是有什么奇怪的机制在里面 我的xtcp可以使用微软的远程桌面 可以使用wsl的ssh 但是xshell连接ssh就会卡在连接成功但是不出shell的状态 只要使用wsl的ssh连一下ssh的端口xshell就出shell了
@cnjmj commented on GitHub (Aug 15, 2023):
[p2p_tcp]
type=xtcp
sk=abcdefg
local_ip=127.0.0.1
local_port=22
[p2p_tcp_visitor]
role=visitor
type=xtcp
server_name=p2p_tcp
sk=abcdefg
bind_addr=127.0.0.1
bind_port=3389
P2P_TCP对应的是22端口吗,你要远程桌面的话,是不是写错了
@github-actions[bot] commented on GitHub (Sep 15, 2023):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.