SSHFS (Secure SHell File System) vous permet de monter un volume distant via une connexion ssh.

Pour plus de détails:

SSHFS est utilisé uniquement pour les PC portables sous Linux, les postes fixes montent les disques réseau via NFS


Vérifiez que sshfs est bien installé sur votre poste :

sudo rpm -qa | grep sshfs

si sshfs n'est pas installé :

sudo dnf install fuse -y
sudo dnf install sshfs -y

Si vous ne disposez pas des droits sudo, merci d'envoyer un mail à support@…


sudo mkdir /"nom du point de montage"
ls -als /home/username (pour visualiser UID:GID)
chown UID:GID /"nom du point de montage"
sshfs"nom du volume à monter"/username /"nom du point de montage"
password (celui de ssh)
df (le disque doit être vu)

Pour démonter un disque :

sudo umount /"nom du point de montage"


First of all you need to install the Apple's Xcode developer tools and the X11 windowing system (installed by default since MACOS 10.5 Leopard).

You also need to be super user on your mac.

Then go to

Download and install the macport version that corresponds to your MACOSX version. Restart your terminal, you can now start to use macport.

For example you can try:

port search sshfs

It should give you:

The next step is to install sshfs using the following command:

sudo port install sshfs

It might crash at some point asking you to install the java developer tool. You need to install this tool by registering as an apple developer (it's free but it takes some time to get registered):

Then you should rerun the command.

It should take 30 minutes to get installed on your computer. Then you need to restart.

The last step is to create a mounting point on your computer. One can do:

mkdir /LPSC_MP/

You could know connect to the lpsc server using sshfs:

sshfs /LPSC_MP/

If you open a finder and go to Macintosh HD (directory /), you could open the LPSC_MP directory and find all your files on the server.

Enjoy !

To disconnect simply do:

umount /LPSC_MP 
Last modified 3 months ago Last modified on 05/04/2024 10:32:50

Attachments (5)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.