//
you're reading...
GNU/Linux, OpenSSH, Terminal, Ubuntu

Sharing Files Between Computers In Your Home Network

Now heres the scenario.. Off late my parents have started using  my laptop  ..Unfortunately my crave for data stored in my laptop coincides with my parents using it!!

So here comes OpenSSH to the rescue .Here is a schematic of my home network..


I have 2 Computers at home

1) Desktop running ubuntu 10.10 (Maverick Meerkat) and Connected to Network via RJ-45 Cable.

2) Laptop running ubuntu 10.04 (Lucid Lynx) and Connected to Network via WiFi.

The number of computers and type of connection does not matter … To the best of my knowledge OpenSSH comes as a default package both in ubuntu 10.04 and 10.10.If its not then install it.

$ sudo apt-get install ssh

Now to test whether its working.. try connecting to your own machine

$ ssh suhas-desktop

here ‘suhas-desktop’ is the host name …you can use ‘localhost’ as well

If you get the same as i did or if you get something like

The authenticity of host ‘localhost (192.168.1.2)’ can’t be established.~~blah blah~~Are you sure you want to continue connecting (yes/no)?

then its working fine 🙂

Now you will need the IP Address of the computer you want to connect to ..This can be found out by many ways.. the simplest one would be

Right click on Network Connection icon in the top panel > Connection Information > IP Address

The way i do is to go to the home page of your router and check Device Info — DHCP Leases .Here you will get to see all the devices connected via the router.

Now to connect to the other computer go to Places>Connect to Server..

 

Enter the details in the window

Service Type - SSH
Server - 192.168.1.3
port - 22
folder - /home
Bookmark Name - raaghu-laptop

You will be prompted to enter the user name and password …i logged in as root (Not Recommended)

I recommend you use the add bookmark feature this helps in easy access of the files.

The pic below shows the file system of the other computer

The ease of access is unbelievable as shown in the pic below

File being accessed

Video being played

Problem solved!!! 😉 😉

The Home page of OpenSSH can be found here

——————————————————————————————————————————————————————————————-

Valuable information for this post was obtained from How-ToGeek and linuxowns.

Advertisements

About Suhas Dwarakanath

Embedded Engineer interested in Electronics and GNU/Linux

Discussion

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: