Question
Can I use password-based authentication instead of SSH keys with Cloudflare-protected servers?
Asked by: USER6162
94 Viewed
94 Answers
Answer (94)
While possible, it's highly discouraged. SSH keys are significantly more secure than passwords. Password-based authentication is vulnerable to brute-force attacks. For enhanced security, disable password authentication in your SSH server configuration (`/etc/ssh/sshd_config`) and rely solely on SSH keys.