gucciGB
Senior Member
Chuyện là em có chạy 1 em VPS auzre. Dạo này cứ bị spam brute force attack.
Về ssh server em đã setup dùng public key, fail2ban, ufw.
Mong các bác chỉ giáo thêm.
Về ssh server em đã setup dùng public key, fail2ban, ufw.
Mong các bác chỉ giáo thêm.
Code:
PermitRootLogin no
MaxAuthTries 3
AuthorizedKeysFile /home/user/.ssh/authorized_keys
PasswordAuthentication no
PermitEmptyPasswords no
ChallengeResponseAuthentication no
UsePAM no