Steps taken:
Go to domains -> select my domain (ie. domain.com) -> click FTP access -> click "+ Add an FTP Account". Fill out FTP Account Name, Home Directory, Password/Confirm Password. No other fields are displayed. In my case I need to specify a home directory folder, so I did. The first time, I created the folder first manually and selected it (forget which user/permissions). The second time I just typed a non-existing folder name in and it created it for me.
It creates the user but then I can't connect via filezilla over SFTP, I get:
Error: FATAL ERROR: Received unexpected end-of-file from SFTP server
Error: Could not connect to server
2 questions:
How to fix this, so I can use the newly created account.
Can I make this account work over FTPS (FTP over tls/ssl). It seems there is nothing listening to port 21 on the server.
What I did:
I followed a tutorial which had me edit /etc/passwd, I found the line for the newly created user, I changed /bin/false to /usr/local/psa/bin/chrootsh
Then it wanted me to go to /var/www/vhosts/domain.com/etc, create a passwd file, and add the line: new-user-name:x:10000:1003::/:/bin/bash
/var/www/vhosts/domain.com didn't contain an etc folder, so i create it, with the same primary user that is tied to the domain (who is not the root user).
I also found an /etc directory in /var/www/vhosts/system/domain.com and /var/www/vhosts/chroot, so I added the passwd file in both those places also. But I'm still getting the same error message. I can't remember if I skip the first step (editing /etc/passwd) if that changes the error message or not.
Version information:
Plesk Obsidian Web Host Edition
Version 18.0.40 Update #3
Go to domains -> select my domain (ie. domain.com) -> click FTP access -> click "+ Add an FTP Account". Fill out FTP Account Name, Home Directory, Password/Confirm Password. No other fields are displayed. In my case I need to specify a home directory folder, so I did. The first time, I created the folder first manually and selected it (forget which user/permissions). The second time I just typed a non-existing folder name in and it created it for me.
It creates the user but then I can't connect via filezilla over SFTP, I get:
Error: FATAL ERROR: Received unexpected end-of-file from SFTP server
Error: Could not connect to server
2 questions:
How to fix this, so I can use the newly created account.
Can I make this account work over FTPS (FTP over tls/ssl). It seems there is nothing listening to port 21 on the server.
What I did:
I followed a tutorial which had me edit /etc/passwd, I found the line for the newly created user, I changed /bin/false to /usr/local/psa/bin/chrootsh
Then it wanted me to go to /var/www/vhosts/domain.com/etc, create a passwd file, and add the line: new-user-name:x:10000:1003::/:/bin/bash
/var/www/vhosts/domain.com didn't contain an etc folder, so i create it, with the same primary user that is tied to the domain (who is not the root user).
I also found an /etc directory in /var/www/vhosts/system/domain.com and /var/www/vhosts/chroot, so I added the passwd file in both those places also. But I'm still getting the same error message. I can't remember if I skip the first step (editing /etc/passwd) if that changes the error message or not.
Version information:
Plesk Obsidian Web Host Edition
Version 18.0.40 Update #3