Razlika između inačica stranice SSHFS

Izvor: HrOpenWiki
Skoči na: orijentacija, traži
m (Opis)
m (Problemi)
 
Redak 19: Redak 19:
 
Da bi se to riješilo potrebno je istu demontirati:
 
Da bi se to riješilo potrebno je istu demontirati:
 
  fusermount -u točka/montiranja
 
  fusermount -u točka/montiranja
 +
 +
===Dodatno===
 +
 +
'''sshfs''' ide dobro u kombinaciji s '''autofs''' [http://www.tjansson.dk/2008/01/autofs-and-sshfs-the-perfect-couple/].

Trenutačna izmjena od 01:42, 23. veljače 2016.

SSHFS je klijent datotečnog sustava baziran na SSH-u, tj. program koji omogućuje montiranje udaljenih (remote) datotečnih sustava lokalno preko protokola SSH.

Korištenje

  • montiranje:
sshfs [user@]host:[dir] točka/montiranja [opcije]
  • demontiranje
fusermount -u točka/montiranja

Opis

      SSHFS  (Secure  SHell  FileSystem)  is  a file system for Linux (and other operating systems with a FUSE implementation, such as Mac OS X or FreeBSD) capable of
      operating on files on a remote computer using just a secure shell login on the remote computer. On the local computer where the SSHFS is mounted, the  implemen-
      tation  makes  use  of  the  FUSE (Filesystem in Userspace) kernel module. The practical effect of this is that the end user can seamlessly interact with remote
      files being securely served over SSH just as if they were local files on his/her computer. On the remote computer the SFTP subsystem of SSH is used.

Problemi

Nekad se zna dogoditi da točka montiranja postane nedostupna zbog puknuća veze, pa svaka operacija koja uključuje tu točku u datotečnom sustavu javlja pogrešku:

cannot access točka/montiranja: Transport endpoint is not connected

Da bi se to riješilo potrebno je istu demontirati:

fusermount -u točka/montiranja

Dodatno

sshfs ide dobro u kombinaciji s autofs [1].