On October 19, 2021, we have enabled single-sign-on for our Plesk Support Center to provide a seamless login/account experience. This implies that you’ll be able to use a single account across any of our web-facing properties.
If you had already registered your account at MyPlesk.com/Plesk360/Platform360 please use one for login. Otherwise please re-register it using the same email address as your existing Zendesk login (support account). It’s essential that you use the same email address on our support center to ensure that your tickets stay attached to the same account.

SFTP does not restrict user to the subscription's directory

Follow

Comments

3 comments

  • Avatar
    Alex (Edited )

    I have rebuilt chroot template, which added '/usr/libexec/openssh/sftp-server' -> '/var/www/vhosts/chroot/usr/libexec/openssh/sftp-server' , but i still can't connect via SFTP.

    FileZilla shows - FATAL ERROR: Received unexpected end-of-file from SFTP server

    WinSCP - Cannot initialize SFTP protocol. Is the host running an SFTP server?

    I am able to connect to the chrooted env. via ssh, with restrictions in place:

    bash-4.2$ echo -n 'SFTP restrictions '; [[ -e /httpdocs ]] && echo 'active' || echo 'inactive'
    SFTP restrictions active

    sftp subsystem is set to:

    Subsystem sftp /usr/libexec/openssh/sftp-server

    Any suggestions?

    Thank you

    0
    Comment actions Permalink
  • Hi Alex,

    Please check if as root user, the SSHd service has the subsystem SFTP set properly at /etc/ssh/sshd_config.

    0
    Comment actions Permalink
  • Avatar
    Irritated user (Edited )

    What is the point to provide instructions to correct the "FATAL ERROR: Received unexpected end-of-file from SFTP server" problem to allow additional  ftp users only to discover the added ftp user has root access and the only solution is to provide instruction to switch back!!!

    https://support.plesk.com/hc/en-us/articles/360019156579?input_string=fatal+error%3A+received+unexpected+end-of-file+from+sftp+server

    Why cant Plesk just add additional ftp users without issues...? why is it so complicated having to search for a solution... mess about trying to figure how to modify the sshd_config file and then to discover its useless anyway you may aswell provide the administrators root password for the ftp user, I don't have this problem with Cpanel

     

     

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request