EanderAlx.org

Linux, Virtualization and whatever I find interesting ...

User Tools


Site Tools


linux:mount_via_ssh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
blog:linux:mount_via_ssh [28.09.2010 12:49] eanderalxlinux:mount_via_ssh [23.03.2013 18:38] (current) – Page moved from blog:linux:mount_via_ssh to linux:mount_via_ssh eanderalx
Line 1: Line 1:
 ====== Mount Filesystem via SSH ====== ====== Mount Filesystem via SSH ======
  
-  * SSHFS steht für Secure SHell FileSystem. Es ist ein Dateisystem für [[http://de.wikipedia.org/wiki/Filesystem_in_Userspace|FUSE]] (Filesystem in Userspace) und ermöglicht so nichtprivilegierten Benutzern ein Filesystem über eine SSH Verbindung zu mounten .+  * SSHFS stands for Secure SHell FileSystem. Its a filesystem for [[http://de.wikipedia.org/wiki/Filesystem_in_Userspace|FUSE]] (Filesystem in Userspace) so its possible for unprivileged user to mount the fs over an SSH connection.
  ~~READMORE~~  ~~READMORE~~
-  * Auf der Server-Seite wird lediglich ein laufender SSH-Server benötigt der SFTP (SSH File Transfer Protocol) versteht+  * On server-site a running ssh-server which understand SFTP (SSH File Transfer Protocol) is needed
-  * Durch die in SSH integrierte Authentifizierung und Verschlüsselung ist  SSHFS einen sicheren und bequemen Weg für Datentransfers durch unsichere Netze (Internet).+  * With the built-in SSH authentication and encryption SSHFS is a safe and convenient way for data transfer across insecure networks (Internet).
  
 ==== Installation (Ubuntu 8.04 LTS) ==== ==== Installation (Ubuntu 8.04 LTS) ====
Line 12: Line 12:
 ==== Verwendung ==== ==== Verwendung ====
  
-1. Mountpoint erstellen+1. create mountpoint
  
    mkdir ~/sshfs    mkdir ~/sshfs
  
-2. mounten (auch ohne Root Rechte möglich)+2. mount (possible without root privileges)
  
    sshfs user@host:/data/ ~/sshfs    sshfs user@host:/data/ ~/sshfs
Line 24: Line 24:
    fusermount -u /sshfs/    fusermount -u /sshfs/
  
-==== Probleme ====+==== Problems ====
  
-=== mit Verbindungs Timeout ===+=== Connection Timeout ===
  
-**Lösung:**+**Solution:**
  
-   * in der lokalen SSH Konfiguration (~/.ssh/config) bei der Definierung des Hosts, zu dem eine Verbindung mit SSHFS aufgebaut wird, das "ServerAliveInterval" setzen +   * in your local ssh configuration you can define the host (~/.ssh/config). There must be set a <nowiki>"ServerAliveInterval"</nowiki>.
  
     ServerAliveInterval 60 # alle 60 Sekunden     ServerAliveInterval 60 # alle 60 Sekunden
  
-=== mit angeblicher Größe des eingehängten Dateisystems === +**you ever mount 1T Dataspace ... ignore that**
- +
-   Die eingehängte Partition hat in jedem Fall eine Größe von 1TB, da SSH wohl nicht dafür ausgelegt ist Dateisysteme zu mounten und so die nötigen Informationen zur Größe nicht übertragen kann+
linux/mount_via_ssh.txt · Last modified: 23.03.2013 18:38 by eanderalx