share folders between two Ubuntu 12.04 machines
I have two machines (1 laptop, 1 desktop) on same network connected to a router both have Ubuntu 12.04
.
I need to share my e.g. "movies drive" from Desktop computer so that i can watch those on laptop just by accessing it through Nautilus
.
Currently in my nautilus it only shows Windows Networks
under Browse Networks
and fails to show my desktop over there.
Thanks
At first, to share folder between Ubuntu
machines: choose folder -> right click -> folder sharing(or in file Properties).
If your computer isn't shown in Browse Network, maybe your network isn't configured right way. But anyway you can try the next:
open nautilius, press Ctrl+L, and put smb://ip.address
(change ip.address with ip of PC you wanna connect to, like smb://192.168.1.1
You can access files on a remote computer using SSH:
- Install
openssh-server
on a computer you want to connect to. - Choose
File -> Connect to Server
in Nautilus running on a machine you want to connect from and selectSSH
. - Enter the remote machine name (you may need to use the
.local
suffix), user name (on remote machine), password and (optionally) folder name and clickConnect
.
The remote folder will appear in the sidebar and will be accessible as your local folders.
You can even setup a passwordless connection. See https://help.ubuntu.com/community/SSH/ for more details.