montare un file system remoto attraverso sshfs con Debian, Ubuntu

1 Oct
2008

ovvero, come montare sulla macchina client un file system remoto con quattro semplici mosse (distribuzioni Debian Like):

talvolta può essere comodo, per praticità e velocità, utilizzare sshfs per avere a disposizione il file system remoto senza dover imbattersi a configurare firewall HW, software e quant’altro.

I passi da seguire:
LATO SERVER:

  1. # aptitude install fuse-utils libfuse2 sshfs
  2. # modprobe fuse

LATO CLIENT:

  1. # aptitude install sshfs
  2. # sshfs <username>@<host>:/qualsiasi/path/remoto /mnt/vostro_path

se volete inserirlo nell’ /etc/fstab:

sshfs#root@11.22.33.44:/home /mnt/vostro_path fuse user,ro 0 0

et voilà: in /mnt/vostro_path vi troverete le directories remote.

4 Responses to montare un file system remoto attraverso sshfs con Debian, Ubuntu

Avatar

Debianizzati.Org » Montare un file system remoto attraverso sshfs con Debian.

October 2nd, 2008 at 15:26

[...] http://marcosiviero.org/blog/2008/10/01/montare-un-file-system-remoto Tags: client, file, mount, protocollo, server, sshfs, system, tips, trasferimento [...]

Avatar

PauLoX

October 2nd, 2008 at 15:40

Ma più semplicemente se sul server si ha solo ssh aperto, sul client gnome si va su Risorse > Connetti al server scegliendo il servizio SSH

Mi pare più semplice.

Lo chiedo a titolo informativo: In cosa è migliore il tuo approccio di quello nativo di Gnome?

Avatar

marco

October 2nd, 2008 at 15:47

ciao

diciamo che non tutti hanno un desktop environment o window manager installato. :)

pensa ad esempio ai servers

ciao, marco

Avatar

samuele

October 3rd, 2008 at 9:25

Bel tip Grazie :)

Comment Form

top