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隧道,而極易受給第三方竊聽。
This tutorial also applies to any Linux distribution using Gnome as the Desktop Manager.此教程也適用於任何Linux發行侏儒使用的桌面管理器。
- In the Gnome desktop, simply click the Places menu and choose Connect to Server…在GNOME桌面,只要按一下鄰居菜單,並選擇連接到服務器...
- 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 。
- 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.我的筆記本電腦的的/ etc /主機文件已進入我的家用電腦中,使我沒有嘗試,並記住它的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 .現在, 單擊連接。
- 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指紋 ,所以我可以確認,我其實嘗試連接到正確的計算機。 Click Log In Anyway .點擊登錄反正 。
- 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.我也選擇了讓侏儒要記住這個密碼的時間我目前的登錄會話。
- 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’.你也將通知現在有更多的圖標在桌面上所謂的'網友對溴' 。
- 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.這是非常方便的下一次當您要連接到該遠程計算機。
- Once you are finished using the remote filesystem, unmount it by right-clicking on its desktop icon and selecting Unmount Volume .一旦您使用完遠程文件系統,它的卸載右鍵點擊桌面圖標,並選擇卸載卷。
- 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.下一次你選擇連接到這個偏遠的文件,假設你選擇的書籤連接,您可以選擇它從書籤菜單中的位置 。
- 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連接如果你必須絕對最好,只有兩個遠程計算機和便攜式計算機或工作站上一個安全的內部網絡,沒有從外部進入。
































{ 0 comments… ( 0評論... add one now現在添加一個 } )
Leave a Comment發表您的評論