- Plesk for Linux
Access to a Plesk server over SSH/SFTP under a subscription's system user does not work:
# ssh firstname.lastname@example.org
Permission denied (publickey).
CONFIG_TEXT: Disconnected: No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)
PasswordAuthenticationmethod is not enabled on the server:
# grep PasswordAuthentication /etc/ssh/sshd_config
Password authentication for SSH connections is not enabled on the server.
Connect to the Plesk server using local server console of your hosting provider panel.
Create a backup of the
# cp /etc/ssh/sshd_config /etc/ssh/sshd_config.back
/etc/ssh/sshd_configfile in a text editor. In this example, we are using the vi editor:
# vi /etc/ssh/sshd_config
Enable password authentication for SSH connections:
CONFIG_TEXT: PasswordAuthentication yes
Save the changes sand close the file.
Restart the SSH service:
# service sshd restart