mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4953] kex_exchange_identification: Connection closed by remote host #3906
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#3906
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 @YangZ1988 on GitHub (Aug 25, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4953
Bug Description
按照Example Usage在服务器和客户端分别启用了frps 和frpc,连接成功,
new proxy [ssh] type [tcp] success
但是执行ssh -vv -p port user@ip 出现以下错误
OpenSSH_9.9p1, LibreSSL 3.3.6
debug1: Reading configuration data ~/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files
debug1: /etc/ssh/ssh_config line 54: Applying options for *
debug2: resolve_canonicalize: hostname ip is address
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug1: Connecting to ip [ip] port port.
debug1: Connection established.
debug1: identity file /Users/yang/.ssh/id_rsa type 0
debug1: identity file /Users/yang/.ssh/id_rsa-cert type -1
debug1: identity file /Users/yang/.ssh/id_ecdsa type -1
debug1: identity file /Users/yang/.ssh/id_ecdsa-cert type -1
debug1: identity file /Users/yang/.ssh/id_ecdsa_sk type -1
debug1: identity file /Users/yang/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /Users/yang/.ssh/id_ed25519 type -1
debug1: identity file /Users/yang/.ssh/id_ed25519-cert type -1
debug1: identity file /Users/yang/.ssh/id_ed25519_sk type -1
debug1: identity file /Users/yang/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /Users/yang/.ssh/id_xmss type -1
debug1: identity file /Users/yang/.ssh/id_xmss-cert type -1
debug1: identity file /Users/yang/.ssh/id_dsa type -1
debug1: identity file /Users/yang/.ssh/id_dsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.9
kex_exchange_identification: Connection closed by remote host
Connection closed by ip port port
frpc Version
0.64.0
frps Version
0.64.0
System Architecture
server: linux/amd, client: linux/amd, remote login: macOS/arm
Configurations
server:
bindPort = x
auth.method = "token"
auth.tokenSource.type = "file"
auth.tokenSource.file.path = "pss"
client:
serverAddr = "x.x.x.x"
serverPort = x
transport.tls.enable = false
auth.method = "token"
auth.tokenSource.type = "file"
auth.tokenSource.file.path = "pss"
proxies
name = "ssh"
type = "tcp"
localIP = "y.y.y.y"
localPort = 22
remotePort = y
Logs
kex_exchange_identification: Connection closed by remote host
Connection closed by ip port port
Steps to reproduce
...
Affected area