ubuntu 20.04 暴力破解
我使用的是ubuntu 20.04。当我查看auth.log记录时,我发现有很多尝试。这里可以采取什么安全措施。
我以前没有这方面的经验。安全问题对我来说很新鲜。我对你的建议持开放态度。
I am using ubuntu 20.04. When I looked at the auth.log records, I saw that there were many attempts. What security measures can be taken here.
I don't have any previous experience in this field. Security issues are very new to me. I am open to anything you suggest.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
假设您正在谈论 SSH,这里有一些建议:
禁用对
root 的登录访问
:禁用 root-登录启用公钥身份验证并禁用基于密码的身份验证:公钥身份验证
添加IP白名单,使用
ufw
等防火墙确保人们只能从您的IP地址访问Here are a few recommendations assuming that you are talking about SSH:
Disable login access to
root
: disable-root-loginEnable public key authentication and disable password based auth: public-key-authentication
Add IP whitelisting, using a firewall such as
ufw
to ensure people can only access from your IP address