How to mount a remote filesystem in Ubuntu Як монтувати віддалені файлові системи в Ubuntu

by Ken Murray on November 3, 2008 Кен Мюррей на 3 листопада 2008

Linux

I like to be able to access files on my desktop computer from my laptop while I'm on the road. Я хотів би мати доступ до файлів на моєму робочому столі комп'ютера з моїм ноутбуком, поки я на дорогу. 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. На щастя, Linux має цю функцію вбудованого У цьому уроці я буду використовувати SSH протокол, оскільки він забезпечує набагато більшу безпеку, ніж 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. Я настійно рекомендуємо використовувати SSH, оскільки він передає імена користувачів, паролі і всі дані через зашифрований тунель в той час як FTP дуже чутлива до третьої сторони Snooping.

This tutorial also applies to any Linux distribution using Gnome as the Desktop Manager. Цей урок застосовується також до будь-яких дистрибутивом Linux за допомогою як Gnome Desktop Manager.

  1. In the Gnome desktop, simply click the Places menu and choose Connect to Server… У робочому столі Gnome, просто натисніть на місці меню і виберіть Підключитися до сервера ...

  2. click to enlarge Збільшити

  3. By default the system wants you to use FTP. За замовчуванням система хоче використовувати FTP. The first thing you need to do is change the Service type to SSH . Перше, що вам потрібно зробити, це змінити тип служби по 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. Моя ноутбука / і т.д. / Hosts файлів, є запис для мого домашнього комп'ютера, в ньому я не повинні намагатися, і запам'ятайте його IP-адресу. In the Server field I entered the friendly name from my /etc/hosts. У полі Сервер я увійшов до зрозуміле ім'я мого / ETC / хости. You could also type the fully qualified domain name or the IP address of the remote computer. Можна також ввести повне доменне ім'я або IP адреса віддаленого комп'ютера.

    Leave the Port field blank. Залиште пустим поле порту.

    In the Folder field I chose to enter my 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. Якщо залишити це поле порожнім вам буде скидатися в кореневому каталозі на віддаленому комп'ютері і перейти до вашої домашньої директорії вручну.

    In the User Name field I entered my user name on the remote computer. У полі Ім'я користувача я увійшов моє ім'я користувача на віддаленому комп'ютері.

    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. Я також вирішив перевірити Додати закладку прапорець тому в наступний раз, коли я підключати до мого дому комп'ютер не довелося пройти через усі ці кроки ще раз.

    Because I chose to add a bookmark for this connection, I also had to give it a name. Тому я вирішив додати закладку зв'язку з цим я також повинен був дати йому ім'я. In the Bookmark Name field I simple typed the same friendly name as in my /etc/hosts file. У полі Ім'я закладки я ввів просту ж зрозуміле ім'я, як у моїй / ETC / хост файл.

    Now click Connect . Тепер натисніть кнопку Connect.

  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. Оскільки це перший раз, коли я підключився до моєму домашньому комп'ютері таким чином, від мого ноутбука, я був представлений SSH Fingerprint віддаленого комп'ютера, щоб я міг переконатися, що я насправді спробі підключення до комп'ютера. Click Log In Anyway . Натисніть Увійти Anyway.

  6. click to enlarge Збільшити

  7. Next I was prompted for my password for the remote computer. Потім я була запит на введення пароля для віддаленого комп'ютера. I also chose to allow Gnome to remember this password for the duration of my current login session. Я також вибрав Gnome, щоб згадати цей пароль протягом усього терміну моєї нинішньої сесії Логін.
  8. After authenticating successfully, up pops a window displaying the contents of my home directory on my home computer. Після успішної аутентифікації, аж з'являється вікно з вмістом моєї домашньої директорії на моєму домашньому комп'ютері. For all intents and purposes this filesystem now acts as if it were another local hard drive attached to my laptop. Для всіх сенсах цього файлової системи в даний час виступає як якби вона була іншою локальний жорсткий диск, підключений до моїм ноутбуком. You will also notice there is now an additional icon on the desktop called 'sftp on bromine'. Ви також помітите, що тепер додаткові іконки на робочому столі званих "SFTP на бром.

  9. click to enlarge Збільшити

  10. If you also chose to add a bookmark for this connection, you will be able to find it in the Bookmarks menu. Якщо ви також вирішили додати закладку цієї зв'язку, Ви зможете знайти його в меню "Закладки". This is very handy for the next time you want to connect to this remote computer. Це дуже зручно, на наступний раз, коли ви хочете підключитися до цього віддаленого комп'ютера.

  11. click to enlarge Збільшити

  12. Once you are finished using the remote filesystem, unmount it by right-clicking on its desktop icon and selecting Unmount Volume . Після завершення роботи з віддаленої файлової системи, відключити її правою кнопкою миші на робочому столі і виберіть команду Вимкнути тому.

  13. click to enlarge Збільшити

  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. Наступного разу ви вирішили долучитися до цієї віддаленої файлової системи, припускаючи, що ви вибрали в закладці з'єднання, ви можете просто вибрати його із закладки в меню Places.

  15. click to enlarge Збільшити

  16. The above procedures are almost identical for connecting via FTP. Вищевказані процедури майже ідентичні для підключення через 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. Тільки підключення через FTP, якщо ви абсолютно необхідно і бажано, тільки якщо обидві віддаленому комп'ютері і на ноутбуці або робочої станції знаходяться на безпечній внутрішньої мережі, що не мають доступу ззовні.
Related Posts: Схожі повідомлення:
  • How to extract (or access) the contents of an .iso file in Windows Як витягти (або доступу) зміст. ISO файлів в Windows
  • How to format and mount a USB hard drive in Linux Як відформатувати і підключити USB жорсткий диск у Linux
  • How to disable Remote Assistance and Remote Desktop in Windows XP Як відключити віддалений помічник і віддалений робочий стіл у Windows XP
  • How to mount a remote file system as a local drive in OS X Як змонтувати віддаленій файловій системі як локальний диск в OS X
  • How to encrypt a USB thumb drive in Ubuntu Як зашифрувати диски USB Thumb в Ubuntu
  • Get Simple Help tutorials just like this one in your email inbox every day - for free! Отримати довідки Прості підручників, як це у вашому поштовому ящику щодня - безкоштовно! Just enter your email address below: Просто введіть свою адресу електронної пошти нижче:

    You can always opt out of this email subscription at any time. Ви завжди можете відмовитися від підписки це повідомлення в будь-який час.

    { 1 comment… read it below or (1 коментар ... Читайте його нижче або add one Додати одну } )

    1 1 Tex 02.03.09 at 7:38 am Текс 02.03.09 о 7:38 ранку

    Ottimo articolo, solo una cosa: se si volesse eliminare il segnalibro non più utilizzato come si fa ? Ottimo Articolo, Cosa індивідуальні UNA: SE SI volesse eliminare IL segnalibro Non Piu utilizzato прийти SI FA?

    Leave a Comment Залишити коментар

    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> Ви можете використовувати ці HTML теги і атрибути: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q Cite=""> <strike> <strong>