[GH-ISSUE #962] 服务端和客户端连接成功后,用putty无法登录。 #767

Closed
opened 2026-05-05 12:29:27 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @PierrePeng on GitHub (Nov 2, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/962

Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)

Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST

What version of frp are you using (./frpc -v or ./frps -v)?
v0.21.0 AMD64

What operating system and processor architecture are you using (go env)?
ubuntu x86_64

Configures you used:
frps.ini
[common]
bind_port = 7000

frpc.ini
[common]
server_addr = 104.224.165.84
server_port = 7000

[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 6000

Steps to reproduce the issue:
1.配置都是按照教程中ssh的那个走
2.配置完后,在windows上用putty测试连接,结果连不上
3.

Describe the results you received:
2018/11/02 12:02:41 [I] [proxy_manager.go:300] proxy removed: []
2018/11/02 12:02:41 [I] [proxy_manager.go:310] proxy added: [ssh]
2018/11/02 12:02:41 [I] [proxy_manager.go:333] visitor removed: []
2018/11/02 12:02:41 [I] [proxy_manager.go:342] visitor added: []
2018/11/02 12:02:41 [I] [control.go:246] [65be97af77ba2b6f] login to server success, get run id [65be97af77ba2b6f], server udp port [0]
2018/11/02 12:02:42 [I] [control.go:169] [65be97af77ba2b6f] [ssh] start proxy success
2018/11/02 12:02:58 [E] [proxy.go:446] [ssh] connect to local service [127.0.0.1:22] error: dial tcp 127.0.0.1:22: connect: connection refused

Describe the results you expected:
使用ssh连接内网

Additional information you deem important (e.g. issue happens only occasionally):

Can you point out what caused this issue (optional)

Originally created by @PierrePeng on GitHub (Nov 2, 2018). Original GitHub issue: https://github.com/fatedier/frp/issues/962 Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly. (为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。) Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST **What version of frp are you using (./frpc -v or ./frps -v)?** v0.21.0 AMD64 **What operating system and processor architecture are you using (`go env`)?** ubuntu x86_64 **Configures you used:** frps.ini [common] bind_port = 7000 --------------------------- frpc.ini [common] server_addr = 104.224.165.84 server_port = 7000 [ssh] type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = 6000 **Steps to reproduce the issue:** 1.配置都是按照教程中ssh的那个走 2.配置完后,在windows上用putty测试连接,结果连不上 3. **Describe the results you received:** 2018/11/02 12:02:41 [I] [proxy_manager.go:300] proxy removed: [] 2018/11/02 12:02:41 [I] [proxy_manager.go:310] proxy added: [ssh] 2018/11/02 12:02:41 [I] [proxy_manager.go:333] visitor removed: [] 2018/11/02 12:02:41 [I] [proxy_manager.go:342] visitor added: [] 2018/11/02 12:02:41 [I] [control.go:246] [65be97af77ba2b6f] login to server success, get run id [65be97af77ba2b6f], server udp port [0] 2018/11/02 12:02:42 [I] [control.go:169] [65be97af77ba2b6f] [ssh] start proxy success 2018/11/02 12:02:58 [E] [proxy.go:446] [ssh] connect to local service [127.0.0.1:22] error: dial tcp 127.0.0.1:22: connect: connection refused **Describe the results you expected:** 使用ssh连接内网 **Additional information you deem important (e.g. issue happens only occasionally):** **Can you point out what caused this issue (optional)**
Author
Owner

@PierrePeng commented on GitHub (Nov 2, 2018):

我的SSH服务没有启动。。

<!-- gh-comment-id:435284427 --> @PierrePeng commented on GitHub (Nov 2, 2018): 我的SSH服务没有启动。。
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#767
No description provided.