Version 4 (modified by 6 years ago) ( diff ) | ,
---|
Table of Contents
- -
- Spécial nouveaux entrants
- Comptes utilisateurs et authentification
- Introduction
- Demande de compte
- Charte Informatique du LPSC
- Changer son mot de passe
- Certificats electroniques
- -
- Support aux utilisateurs
- Traitements des demandes, tickets urgents
- Aide au developpement
- -
- Postes de travail
- Postes de travail
- PC de pret
- Configurations et problemes rencontres
- Programmes sous Windows
- -
- Acces au reseau
- Reseaux filaire et wifi
- Accueil de visiteurs
- Reseau EDUROAM
- Acces externes
- Acces externe par VPN
- -
- Impressions, photocopies, scanner
- Installation et utilisation des imprimantes
- Suivi des impressions
- -
- Stockage centralise
- Introduction
- Utilisation des espaces de stockage du LPSC
- -
- Messagerie / Outils collaboratifs
- Messagerie
- Salles de reunion et videoconference
- Espaces internet
- Surveillance MaJ page web
- Synchronisation ATRIUM
- Liens vers outils collaboratifs
- -
- Calcul et serveurs
- Introduction
- Ferme locale
- Systeme de batch HTCondor
- Serveurs Windows
- Logiciels sous licence
- -
- Divers
- Mise a jour des informations Annuaire IN2P3
- Bases de Linux
- Trucs et astuces sous Linux
- Trucs et astuces de programmation
- SSH
- X2GO
- FileZilla
- SSHFS
- Latex
- Doxygen
- -
- Pour les administrateurs
- Index des pages de l'espace utilisateur
- Espace administrateur acces restreint
SSHFS
SSHFS stands for Secure SHell File System. The idea is to open a ssh connection on your computer as a file system. It will allow you to open the files stored in a mounted distant servor with the softwares installed on your own computer.
For more details: http://en.wikipedia.org/wiki/SSHFS
SSHFS on Linux
For Fedora distribution : Uniquement pour le PC portable, les postes fixes montent les filesystem via NFS
Installation and Setup
Simply install the following package: sshfs:
sudo dnf install fuse -y sudo dnf install sshfs -y
Si vous ne disposez pas des droits sudo, merci d'envoyer un mail à support@…
Command-line Usage
sudo mkdir /"nom du point de montage" ls -als /home/username (pour visualiser UID:GID) chown UID:GID /"nom du point de montage" sshfs username@lpsc-ssh.in2p3.fr:/"nom du volume à monter" (par exemple /informatique) /"nom du point de montage" password (celui de ssh) df (le disque doit être vu)
To unmount :
sudo umount /"nom du point de montage"
SSHFS on MACOS
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 http://www.macports.org/install.php
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): https://daw.apple.com/cgi-bin/WebObjects/DSAuthWeb.woa/wa/login?appIdKey=D634F5C410E183A7BD8650B11A7C825F5A871BDB2392FE747A51628F0291F620&path=%2F%2Fmembercenter%2Findex.action
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 username@lpsc-ssh.in2p3.fr:/yourfavoritedirectory /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
Attachments (5)
- LPSC_MP.png (83.1 KB ) - added by 8 years ago.
- Macport.2.png (211.4 KB ) - added by 8 years ago.
- Macport.png (211.4 KB ) - added by 8 years ago.
- searchsshfs.2.png (50.8 KB ) - added by 8 years ago.
- searchsshfs.png (50.8 KB ) - added by 8 years ago.
Download all attachments as: .zip