[GH-ISSUE #4036] Cannot connect to the server via 6000 #3193

Closed
opened 2026-05-05 14:03:57 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @Boltzmachine on GitHub (Mar 1, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4036

Bug Description

I follow the instructions and use the default config. When I connect to Server A by ssh -oPort=6000 test@x.x.x.x from another machine (C), server A logs

[proxy.go:204] [851d36a3d0795dad] [ssh] get a user connection [73.100.143.72:60259]

On machine C, the ssh connection command requires me to enter the password (although I can connect the server A without a password from port 22). However, after I enter the correct password, it shows

Permission denied (publickey,password)

frpc Version

0.54.0

frps Version

0.54.0

System Architecture

linux/amd64

Configurations

# frps.toml
bindPort = 7000
# frpc.toml
serverAddr = "x.x.x.x"
serverPort = 7000

[[proxies]]
name = "ssh"
type = "tcp"
localIP = "127.0.0.1"
localPort = 22
remotePort = 6000

Logs

No response

Steps to reproduce

Follow the instruction under Access your computer in a LAN network via SSH

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @Boltzmachine on GitHub (Mar 1, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4036 ### Bug Description I follow the instructions and use the default config. When I connect to Server A by `ssh -oPort=6000 test@x.x.x.x` from another machine (C), server A logs ``` [proxy.go:204] [851d36a3d0795dad] [ssh] get a user connection [73.100.143.72:60259] ``` On machine C, the ssh connection command requires me to enter the password (although I can connect the server A without a password from port 22). However, after I enter the correct password, it shows ``` Permission denied (publickey,password) ``` ### frpc Version 0.54.0 ### frps Version 0.54.0 ### System Architecture linux/amd64 ### Configurations ``` # frps.toml bindPort = 7000 ``` ``` # frpc.toml serverAddr = "x.x.x.x" serverPort = 7000 [[proxies]] name = "ssh" type = "tcp" localIP = "127.0.0.1" localPort = 22 remotePort = 6000 ``` ### Logs _No response_ ### Steps to reproduce Follow the instruction under **Access your computer in a LAN network via SSH** ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [X] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@Boltzmachine commented on GitHub (Mar 1, 2024):

Sorry I just realize the user name should be the one on Server B (not Server A:)

<!-- gh-comment-id:1972609047 --> @Boltzmachine commented on GitHub (Mar 1, 2024): Sorry I just realize the user name should be the one on Server B (not Server A:)
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#3193
No description provided.