openssh sshfs depuis un serveur CIFS ou AFP

cf : http://doc.ubuntu-fr.org/sshfs

Via votre gestionnaire de paquet favoris, Il suffit d'installer le paquet sshfs.

[bash]
apt-get install sshfs
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
fuse-utils libfuse2 libglib2.0-0 libglib2.0-data shared-mime-info
The following NEW packages will be installed:
fuse-utils libfuse2 libglib2.0-0 libglib2.0-data shared-mime-info sshfs
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,165 kB of archives.
After this operation, 11.0 MB of additional disk space will be used.
Do you want to continue [Y/n]?
[/bash]

Montage en mode console

[bash]
mkdir /mnt/export_sshfs
sshfs -o allow_other -o gid=1105 192.168.0.1:/data /mnt/export_sshfs
[/bash]

Montage automatique via /etc/fstab

Editer le fichier /etc/fstab
[bash]vi /etc/fstab[/bash]

[bash]sshfs#192.168.0.1:/data /mnt/export_sshfs fuse user,_netdev,noatime,allow_other,gid=1105 0 0
[/bash]