Grimoire-
Command
.es

GNU+Linux command memo

Mount distant repository via SSH

Monter un répertoire distant via SSH

# sshfs -o nonempty $user@$distant_machine:/home/$user/baz /mnt/$local_dir_of_distant_baz

You can add the following line to /etc/fstab:

sshfs#$user@$distant_machine:/home/$user/baz /mnt/$local_dir_of_distant_baz fuse defaults,users,noauto,async,noatime,allow_other 0 0

To simply use the mount command.