I have 2 Debian systems, prod1 and prod2, with their respective users, prod1 and prod2 as well. I want to setup an sshfs with autofs to have a directory on prod1 in the /home/prod1/ that the user www-data could use independently on one server or the other. I want the owner of the content to be www-data. I want to use ssh from the prod2 user to prod1 user, not directly www-data. How would I configure /etc/fstab, /etc/auto.master and /etc/auto.sshfs ?
Debian – How to Set Up SSHFS to Use www-data
autofsdebianmountsshfs
Best Answer
auto.master:
auto.sshfs:
HTH, Zrin