Answer the question
In order to leave comments, you need to log in
How to correctly write the sshfs mount command to fstab?
I sent a pubkey to the server from which I mount the directory. Check if it works or not:
sshfs [email protected]:/home/u1_1/files/ /var/www/u1_2/www/remote_files -o port=22 -o reconnect -o follow_symlinks -o nonempty -o allow_other
Host 11.11.11.11
IdentityFile ~/.ssh/id_rsa
Port 22
/dev/vda2 / ext4 errors=remount-ro 0 1
sshfs#[email protected]:/home/u1_1/files/ /var/www/u1_2/www/remote_filess fuse comment=sshfs,port=22,auto,reconnect,follow_symlinks,nonempty,allow_other 0 0
Answer the question
In order to leave comments, you need to log in
Google is broken?
https://wiki.archlinux.org/index.php/SSHFS_(%D0%A0...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question