How to mount a remote filesystem in Ubuntu Come montare un filesystem remoto in Ubuntu

by Ken Murray on November 3, 2008 da Ken Murray il 3 novembre 2008

Linux

I like to be able to access files on my desktop computer from my laptop while I’m on the road. Mi piace essere in grado di accedere ai file sul mio computer desktop del mio computer portatile mentre sono sulla strada. Luckily Linux has this feature built in. In this tutorial I’ll be using the SSH protocol because it provides far more security than FTP. Fortunatamente Linux ha questa funzione incorporata poll In questo tutorial sarò utilizzando il protocollo SSH in quanto prevede di gran lunga maggiore sicurezza di FTP. I strongly advise using SSH because it transmits user names, passwords, and all data through an encrypted tunnel whereas FTP is highly susceptible to third party snooping. Sono fermamente consigliare usando SSH perché trasmette i nomi utente, password e tutti i dati attraverso un tunnel criptati che FTP è altamente sensibili a terzi snooping.

This tutorial also applies to any Linux distribution using Gnome as the Desktop Manager. Questo tutorial si applica anche a qualsiasi distribuzione Linux utilizzando Gnome come Desktop Manager.

  1. In the Gnome desktop, simply click the Places menu and choose Connect to Server… In Gnome desktop, è sufficiente fare clic sul menu Luoghi e scegliere Connessione al server ...

  2. click to enlarge clicca per ingrandire

  3. By default the system wants you to use FTP. Per default il sistema vi vuole utilizzare l'FTP. The first thing you need to do is change the Service type to SSH . La prima cosa che dovete fare è cambiare il tipo di servizio di SSH.
  4. My laptop’s /etc/hosts file has an entry for my home computer in it so I don’t have to try and remember it’s IP address. Il mio portatile di file / etc / hosts ha una voce per il mio computer di casa in modo che non ho per cercare di ricordare che l'indirizzo IP. In the Server field I entered the friendly name from my /etc/hosts. Nel campo Server Ho inserito il nome dal mio / etc / hosts. You could also type the fully qualified domain name or the IP address of the remote computer. Si può anche digitare il nome di dominio pienamente qualificato o l'indirizzo IP del computer remoto.

    Leave the Port field blank. Lasciare il porto campo vuoto.

    In the Folder field I chose to enter my home directory. Nell'elenco delle cartelle campo ho scelto di inserire la mia home directory. If this field is left blank you will be dumped into the root directory on the remote computer and have to navigate to your home directory manually. Se questo campo viene lasciato vuoto sarà oggetto di dumping nella root directory del computer remoto e per navigare verso la home directory manualmente.

    In the User Name field I entered my user name on the remote computer. Nel campo Nome utente Ho inserito il mio nome utente sul computer remoto.

    I also chose to check the Add Bookmark checkbox so the next time I connect to my home computer I don’t have to go through all of these steps again. Ho anche scelto di controllare la casella di controllo Aggiungi ai preferiti così la prossima volta che mi collego al mio computer di casa Non ho bisogno di passare attraverso tutti questi passaggi di nuovo.

    Because I chose to add a bookmark for this connection, I also had to give it a name. Perché ho scelto di aggiungere un segnalibro per questa connessione, ho anche avuto a dargli un nome. In the Bookmark Name field I simple typed the same friendly name as in my /etc/hosts file. Nel campo Nome Favoriti semplice ho digitato il nome stesso, come nel mio file / etc / hosts.

    Now click Connect . Ora fare clic su Connetti.

  5. Since this is the first time I have connected to my home computer this way from my laptop, I was presented with the remote computer’s SSH Fingerprint so I could verify that I am in fact attempting to connect to the correct computer. Poiché questa è la prima volta che ho collegato al mio computer di casa in questo modo dal mio portatile, mi è stato presentato con il telecomando del computer SSH impronte digitali in modo ho potuto verificare che sono in realtà tentando di connettersi al computer corretto. Click Log In Anyway . Fare clic su Log in anyway.

  6. click to enlarge clicca per ingrandire

  7. Next I was prompted for my password for the remote computer. Avanti mi è stato chiesto di immettere la mia password per il computer remoto. I also chose to allow Gnome to remember this password for the duration of my current login session. Ho anche scelto di consentire di Gnome per ricordare la password per tutta la durata del mio attuale sessione di login.
  8. After authenticating successfully, up pops a window displaying the contents of my home directory on my home computer. Dopo l'autenticazione con successo, fino POP una finestra visualizzando il contenuto della mia home directory sul mio computer di casa. For all intents and purposes this filesystem now acts as if it were another local hard drive attached to my laptop. Per tutti gli effetti questo filesystem ora agisce come se si trattasse di un altro disco rigido locale collegata al mio computer portatile. You will also notice there is now an additional icon on the desktop called ’sftp on bromine’. È inoltre rilevato che vi è ora un ulteriore icona sul desktop chiamata 'sftp sulla bromo'.

  9. click to enlarge clicca per ingrandire

  10. If you also chose to add a bookmark for this connection, you will be able to find it in the Bookmarks menu. Se anche voi scelto di aggiungere un segnalibro per questa connessione, si sarà in grado di trovare nel menu Segnalibri. This is very handy for the next time you want to connect to this remote computer. Questo è molto utile per la prossima volta che si desidera connettersi a questo computer remoto.

  11. click to enlarge clicca per ingrandire

  12. Once you are finished using the remote filesystem, unmount it by right-clicking on its desktop icon and selecting Unmount Volume . Una volta che hai finito di usare il telecomando del filesystem, smontarlo facendo clic destro sulla sua icona sul desktop e scegliendo Smonta tomo.

  13. click to enlarge clicca per ingrandire

  14. The next time you choose to connect to this remote filesystem, assuming you chose to bookmark the connection, you can simply select it from its bookmark in the Places menu. La prossima volta che si sceglie di collegare a questo filesystem remoto, assumendo si è scelto di segnalibro la connessione, si può semplicemente selezionare dal suo segnalibro nel menu Places.

  15. click to enlarge clicca per ingrandire

  16. The above procedures are almost identical for connecting via FTP. Le procedure di cui sopra sono quasi identici per il collegamento tramite FTP. Only connect via FTP if you absolutely must and preferably only if both the remote computer and your laptop or workstation are on a secure internal network with no access from outside. Basta collegarsi tramite FTP se assolutamente necessario e preferibilmente solo se sia il computer remoto e il vostro laptop o workstation sono sicuro su una rete interna con accesso dall'esterno.
Related Posts: Related Interventi:
  • How to extract (or access) the contents of an .iso file in Windows Come per estrarre (o accesso) il contenuto di un file. Iso in Windows
  • How to mount a remote file system as a local drive in OS X Come montare un file system remoto come una unità locale in OS X
  • How to disable Remote Assistance and Remote Desktop in Windows XP Come disattivare Assistenza remota e desktop remoto in Windows XP
  • How to automatically mount a Windows drive when OS X starts Come montare in automatico un disco di Windows quando si avvia OS X
  • How to automatically sign in to Ubuntu Come automaticamente l'accesso a Ubuntu
  • Get Simple Help tutorials just like this one in your email inbox every day - for free! Ottieni Aiuto tutorial semplice come questo nella tua casella di posta tutti i giorni - gratuitamente! Just enter your email address below: Basta inserire il tuo indirizzo email qui sotto:

    You can always opt out of this email subscription at any time. È possibile scegliere di questa e-mail di iscrizione in qualsiasi momento.


    Bookmark and Share Favoriti e Condividi

    { 0 comments… (0 commenti ... add one now aggiungere uno ora } )

    Leave a Comment Lascia un tuo commento

    You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> È possibile utilizzare questi tag HTML e gli attributi: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>