[Sussex] Creating a share between tow Linux mint machines

Paul Willis phwillis at gmail.com
Fri Apr 11 20:20:00 UTC 2014


One place to start would be with samba. Mint has probably installed at
least some part of samba which was originally about windows networking but
has been adopted by many Linux distros. Somewhere most likely in /etc/samba
will be a samba.conf. If you compare the 2 machines versions and read up in
the man and on the web, you may be led to the answer! Some guis and/or file
managers do all the clever stuff for you, and it could be as simple as a
right click on the the shares you want to offer and relaxing the
restrictions. Or there may be firewall issues,

BUT if you're on your own  network and just want to share the filesystems,
then I suggest you forget all the above and look into SSH and then sshfs.
With sshfs you mount the remote filesystem from the directory you choose to
the point in the local system that you prepare. From a /mint1 on mint2 and
or a /mint2 on mint1 for whole filesystems, down to ~/photos.mint1 or
whatever. Note you also choose the user and group you become on the remote
system, so have the privileges that user has, also using their password to
connect. SSH encrypts for you so you have that extra level of security too.
You get the full graphical service in your file manager so can move files
by drag and drop or browse to them from applications because the remote
machine just appears as part of your local system. It also works painlessly
across the internet too, if a little slower. You can script the mounts to
happen at startup or logon, but will fail if the remote machine is not
online. Better to write the script and run it when you need it and know the
other machine is up. Shell history will remember your command line which
you can find with an up arrow or control R if you can't be bothered to
write a script. Install is from the usual software source for your distro.

Samba is best kept for sharing and printing with windows. Macs use SSH out
of the box. I haven't tried sshfs with a Mac. If you turn on X forwarding
you can run graphical apps from a remote machine with SSH. Truly a really
useful program.

P

I am sorry for cross posting but I can't find ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/sussex/attachments/20140411/3fb308c7/attachment.html>


More information about the Sussex mailing list