Hi there everyone! I like to use sshfs for working on files in web directory but I see that creating an SSH user puts them in their own ssh directory with no access to the web files. Is there something I can do that will allow me to get access to them when I ssh in? Thanks for your time!
You are using chroot for shell users (as you indeed should use). Then web files are in /web directory.
Do Code: ls /web If the web files are not there, start with Code: ls -lh / to find out where the files are.
I found the web directory by having SSHFS work in ../../web as the root. The problem I now have(of course) is that the ssh user has no capabilities to work on the files due to user not being the same and permissions not allowing it. Is there a way to get SSH user to be able to work in the web directory?
Login to ispconfig and create a shell user in ispconfig for that website. all shell user created in ispconfig have the same permissions as the web user, so they can always write into the web and the private directory.
Thank you for your help, Till. I can modify files through shell but for some reason, file modification fails when trying to do the same via sshfs. I'll continue tinkering. On a somewhat related note, should I be able to sudo with my created shell user? It's failing as well.