[GH-ISSUE #1882] 两步验证问题 求助! #1490

Closed
opened 2026-05-05 12:56:30 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @sshuangliu on GitHub (Jun 24, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1882

对Internet开放的服务,安全性很重要,为防止扫描 暴力破解,计划开启两步验证2FA,已经成功部署,但是 有个疑问:以SSH服务为例,能否验证的时候只输入APP上的动态口令,即‘一步验证’,bypass掉输入本地密码。 或者说有什么对应的其他方案推荐?

thanks

Originally created by @sshuangliu on GitHub (Jun 24, 2020). Original GitHub issue: https://github.com/fatedier/frp/issues/1882 对Internet开放的服务,安全性很重要,为防止扫描 暴力破解,计划开启两步验证2FA,已经成功部署,但是 有个疑问:以SSH服务为例,能否验证的时候只输入APP上的动态口令,即‘一步验证’,bypass掉输入本地密码。 或者说有什么对应的其他方案推荐? thanks
gitea-mirror 2026-05-05 12:56:30 -06:00
Author
Owner

@lyh543 commented on GitHub (Jun 25, 2020):

我的想法是从iptables进行防护,屏蔽掉访问频繁的链接。可参考
https://lyh543.github.io/Linux/use-iptables-to-protect-ssh-from-brute-force-attack/
不过我还没有进行实现。

<!-- gh-comment-id:649152484 --> @lyh543 commented on GitHub (Jun 25, 2020): 我的想法是从iptables进行防护,屏蔽掉访问频繁的链接。可参考 https://lyh543.github.io/Linux/use-iptables-to-protect-ssh-from-brute-force-attack/ 不过我还没有进行实现。
Author
Owner

@fatedier commented on GitHub (Jun 25, 2020):

如果是类似 iptables 这种方式的话,倒是可以通过开发自定义插件来解决。比如限制单个 ip 每分钟的连接次数之类的。

<!-- gh-comment-id:649203409 --> @fatedier commented on GitHub (Jun 25, 2020): 如果是类似 iptables 这种方式的话,倒是可以通过开发自定义插件来解决。比如限制单个 ip 每分钟的连接次数之类的。
Author
Owner

@sshuangliu commented on GitHub (Jun 25, 2020):

如果是类似 iptables 这种方式的话,倒是可以通过开发自定义插件来解决。比如限制单个 ip 每分钟的连接次数之类的。

Linux有个这种的方案:Fail2Ban,部署这个服务即可,但是还是没有达到动态密码这种方式来的靠谱

<!-- gh-comment-id:649478440 --> @sshuangliu commented on GitHub (Jun 25, 2020): > 如果是类似 iptables 这种方式的话,倒是可以通过开发自定义插件来解决。比如限制单个 ip 每分钟的连接次数之类的。 Linux有个这种的方案:Fail2Ban,部署这个服务即可,但是还是没有达到动态密码这种方式来的靠谱
Author
Owner

@sshuangliu commented on GitHub (Jun 25, 2020):

我的想法是从iptables进行防护,屏蔽掉访问频繁的链接。可参考
https://lyh543.github.io/Linux/use-iptables-to-protect-ssh-from-brute-force-attack/
不过我还没有进行实现。

Fail2Ban可以了解下

<!-- gh-comment-id:649478898 --> @sshuangliu commented on GitHub (Jun 25, 2020): > 我的想法是从iptables进行防护,屏蔽掉访问频繁的链接。可参考 > https://lyh543.github.io/Linux/use-iptables-to-protect-ssh-from-brute-force-attack/ > 不过我还没有进行实现。 Fail2Ban可以了解下
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#1490
No description provided.