Show pageOld revisionsBacklinksAdd to bookExport to PDFBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== autofs ====== <code bash> sudo apt install autofs sudo mkdir /etc/auto.master.d/ </code> ===== debugging ===== stop service and run foreground <code bash> systemctl stop autofs sudo automount -f -v </code> ===== sshfs ===== <code bash> sudo apt install sshfs </code> autofs use root account and ssh key has to be present in /root/.ssh <code bash> sudo su - ssh-keygen </code> copy id_rsa.pub in destination ~/.ssh/authorized_keys and check <code bash> ssh <user>@destination </code> 1000 is id of local user <file txt /etc/auto.master.d/sshfs.autofs> /mnt/sshfs /etc/auto.sshfs uid=1000,gid=1000,--timeout=30,--ghost </file> <file txt /etc/auto.sshfs> subfolderblabla -fstype=fuse,rw,nodev,nonempty,noatime,allow_other,max_read=65536 :sshfs\#remote_user@destinatio.remote\:/path/to/mount </file> tips/autofs.txt Last modified: 2017/05/15 09:50by scipio