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
sshfs#$user@$distant_machine:/home/$user/baz /mnt/$local_dir_of_distant_baz fuse defaults,users,noauto,async,noatime,allow_other 0 0 (1)
1 Use mount command, after having added this line to /etc/fstab