I have a VPS with Nginx, Ubuntu 24.04 and OpenSSH installed. In my sshd_config I have PasswordAuthentication=no. I recently installed vsftpd and now it turns out that FileZilla connects to the server with password-authentication and without using the SSH-keys.
This makes it looks like all the safety measures I took are completely in vain, because when I can, everybody else can connect to my server too using FileZilla.
Have I overlooked something? Is there anything I can do to protect the server from connecting FileZilla to the server while not using the SSH-key?
EDIT:
My sshd_config looks like this:
PasswordAuthentication no
KbdInteractiveAuthentication no
UsePAM yes
ChallengeResponseAuthentication no
X11Forwarding yes
PrintMotd no
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server