How to create FTP for ALL folders of domains?

Hi
I need to create one ftp access for all domains, not a specific one, can’t figure out how to do it, please advise.

not need
/home/admin/web/domain

need
/home/admin/web/

You can’t at the moment…

1 Like

why? there’s no such option?

Because it was never implemented on /home/user/web level…

Just use the user account with sftp…

Strange, on 5 years old VestaCP this was possible and I still have FTP working.
It’s a pity they didn’t provide this (

Vesta doesn’t support it either …

FTP accounts are create under the web domain page…

Yeah, I know, it’s all about safety. Thank you, I’ll be sure to know.

If we go to the case, there is a user to see all the folders: the root user.

If you log in with the root user, with the root password, and use a SFTP on port 22 you can see absolutely everything :see_no_evil: :see_no_evil: :see_no_evil:

  • Can it help you in emergencies?
    Yes.

  • Is it advisable to use this?
    Obviously not because you are exposing the root server password.

  • What other option is there without using the password?
    Connecting via SFTP with an SSH key

  • What other option is there?
    You can manually create from command line a username and password for the FTP Server and linked to the folder /home/
    Maybe best option is configure proftp and not vsftpd

The current structure in hestiacp has the domains inside each user(owner) unlike other panels like aapanel which has all the websites in one directory, regardless of the user(owner)

hestiacp it’s like:
/home/user1/web/domain1. com
/home/user1/web/domain2.com
/home/user2/web/domain3.com
/home/user3/web/domain4.com

aapanel it’s like:
/www/wwwroot/domain1.com
/www/wwwroot/domain2.com
/www/wwwroot/domain3.com
/www/wwwroot/domain4.com

so here in hestiacp, like @eris said… it’s not possible… but you can do an account manually for the /home/ directory.

You can create an automated script that triggers the addition of an account and password when creating a new domain! If necessary, the password and account can be sent to the user.