Share files between GNU/Linux machines without using samba

From Free State Linux Users Group

Jump to: navigation, search

Introduction

In this tutorial I will show you how to securely share files between two GNU/Linux machines. we will be using Nautilus it is the official file manager for the GNOME desktop and the openssh-server package found in the Debian or Ubuntu repositories.

Install openssh-server

you can either use Synaptic Package Manager found under System -> Administration on a GNOME desktop or apt-get from the terminal, to install the openssh-server package. This package will allow users on the machine to login to the system using ssh.

sudo apt-get install openssh-server

Point Nautilus to the computer you want to log into

After you installed the openssh-server package on the computer you want to log into, you can open Nautilus from the client machine. The easiest way to do this from a GNOME desktop is to click on Places -> Home.

Nautilus Home

Now in the "Go to" edit box type the address of the machine you want to log into. In my example I'm using my website, because it runs on a linux server and I have ssh access to it. You will most probably use something like ssh://bell.local or ssh://192.168.1.3 depending on the ip or hostname.

Nautilus SSH Login

After you entered the address it will ask you for the username and passord. You must supply it a username and password you created on the server machine. Normally your normal login username and password will work.

After you pressed on connect and you have a network connection to the server and gave Nautilus the correct credentials you will be able to browse the server machine.

Yip, it is as easy as that. If you don't understand something or have a suggestion please leave a comment in the Discussion section.