• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Disable SSH Login, keep SFTP enabled

daanse

Regular Pleskian
hi,
a few Weeks ago, i turned "PasswordAuthentication" to "no" in "/etc/ssh/sshd_config" because i'm using SSH Keys now.
So today, customer wrote, that his SFTP is not working anymore.
What can i do here? Am i missing something?

Do i have to add:
Subsystem sftp /usr/lib/openssh/sftp-server
Subsystem sftp internal-sftp <-
This additional Line
to get SFTP working again?

Customer Error was: "Fehler: Disconnected: No supported authentication methods available (server sent: publickey)"

Thank you in advance for any advice.
 
HI,
i dont think so, i just turned "PasswordAuthentication" to YES again.
Now it works.
BUt i want to have this option to "no" ..
 
Back
Top