We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Setting user up so they can access SFTP?
Setting user up so they can access SFTP?
Hi,
Sorry for all the questions :)
I have purchased and activated the chroot plugin, and I'm now trying to get it so I can let this user login with SFTP. While it lets me login, I get permission denied errors:
UPDATE: It appears the files are owned by "root", which would explain why it won't let me in there:
Thanks
Andy
Sorry for all the questions :)
I have purchased and activated the chroot plugin, and I'm now trying to get it so I can let this user login with SFTP. While it lets me login, I get permission denied errors:
I have "SSH Access" set as bash, so I assume that is correct. I don't see any other settings that would be pertinent to this?rachel@com:~/conf$ ls
dns mail web
rachel@com:~/conf$ cd web/
rachel@com:~/conf/web$ ls
ls: cannot open directory '.': Permission denied
UPDATE: It appears the files are owned by "root", which would explain why it won't let me in there:
Do I need to re-create the user to make the chroot stuff work?rachel@com:~$ ls -lh ./
total 16K
drwxr-xr-x 5 root root 4.0K Apr 6 06:55 conf
drwxr-x--x 3 root root 4.0K Apr 6 07:05 mail
drwx------ 2 rachel rachel 4.0K Apr 6 06:55 tmp
drwxr-xr-x 3 rachel rachel 4.0K Apr 6 07:05 web
Thanks
Andy
Re: Setting user up so they can access SFTP?
I managed to fix this by just deleting the domain, and re-adding it. Now all the folders are correctly owned, and I can edit the files as the appropriate user :)