mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1226] 配置ssh穿透后,服务端会持续出现大量冗余信息 get a new work connection: [y.y.y.y:60690] 客户端日志文件持续出现信息 sshd[21354]: Did not receive identification string from 127.0.0.1 #965
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#965
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 @emacle on GitHub (Apr 30, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1226
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)?
0.27.0
What operating system and processor architecture are you using (
go env)?客户端 Ubuntu 16.04 LTS x86_64
服务端CentOS 6.9 x86_64
Configures you used:
客户端配置
服务端(公网IP x.x.x.x)配置
Steps to reproduce the issue:
1.启动服务端 ./frps -c frps.ini
2.启动客户端 ./frpc -c frpc.ini
Describe the results you received:
[I] [proxy.go:82] [b86fda4103cacaf8] [ssh] get a new work connection: [y.y.y.y:60690] 信息 , y.y.y.y 是客户端出口防火墙地址
sshd[10776]: Did not receive identification string from 127.0.0.1
只是 from 127.0.0.1 没有其他的
Describe the results you expected:
不应该出现这么多异常冗余信息
Additional information you deem important (e.g. issue happens only occasionally):
我的客户端是在内网,位于防火墙里面,是否客户端里ssh与服务端连接时一直与服务端进行交互导致?
该如何排查呢,是否与我的公网服务器有关?但是80 3389这些穿透都是没问题的?
Can you point out what caused this issue (optional)
这里个项目里面好像也遇到这个问题 https://github.com/AsydSolutions/ASYD/issues/112
这篇文章里 Example 2 指出了ssh identification string
https://scottlinux.com/2012/03/07/troubleshooting-ssh-server-logs-and-error-messages/
还有这篇
https://blog.trippyboy.com/2012/centos/ssh-did-not-receive-identification-string-from-%e3%82%92%e8%a7%a3%e6%b1%ba%e3%81%99%e3%82%8b%e3%81%ae%e5%b7%bb/
@fatedier commented on GitHub (May 3, 2019):
get a new work connection是 Info 级别的日志,如果不希望看到,修改日志级别为 warn 或 error 即可。这些日志的产生取决于有多少请求在连接你的 ssh 服务,正常情况下只有你自己的连接应该只有少量日志,可以尝试更换端口,或者其他方法避免暴露在公网上的端口被扫到。
@emacle commented on GitHub (May 5, 2019):
多谢,应该是那天测试时端口刚好被扫描的问题,今天试了下完全没有问题。