Unable to connect to Plesk server via SFTP with the error (e.g. from FileZilla):
Error: Authentication failed.
Error: Critical error: Could not connect to server
The following error is observed in
proftpd: pam_env(proftpd:setcred): Unable to open
config file: /etc/security/pam_env.conf: Permission denied
proftpd: pam_systemd(proftpd:session): Failed to connect to system bus: Permission denied
proftpd: pam_unix(proftpd:session): session closed for user user
Received unexpected end-of-file from SFTP server
The system user of the subscription is used to log in over SFTP
Access to the server over SSH is set to Forbidden in Domains > example.com > Web Hosting Access.
- Log into Plesk
- Navigate to Plesk> Domains > example.com > Web Hosting Access
- Make sure that the field Access to the server over SSH is set to any available shell (but not to Forbidden).