[kwlug-disc] (Easy) Linux File Sharing?
Bob Jonkman
bjonkman at sobac.com
Mon Aug 5 12:42:48 EDT 2013
0) Encrypt all the things
1) rsync
2) ssh authentication keys
I use
rsync localdir/filename user at remotehost:/dir-hierarchy/filename
or
rsync user at remotehost:/dir-hierarchy/filename localdir/filename
Yes, it requires you to authenticate, but that's a _feature_, not a _bug_!
rsync uses ssh to connect to remote hosts, so to reduce the
authentication tango I put ssh authentication keys on any computers I
need to connect to (usually for the bjonkman user, but could also be for
the root user). That's a one-time setup, so that effort fades into
insignificance over time.
--Bob.
Bob Jonkman <bjonkman at sobac.com> http://sobac.com/sobac/
SOBAC Microcomputer Services Phone: +1-519-669-0388
6 James Street, Elmira ON Canada N3B 1L5 Cell: +1-519-635-9413
Software --- Office & Business Automation --- Consulting
On 13-08-05 09:10 AM, unsolicited wrote:
> I want to be able to do in Linux what I can do in windows, easily copy
> files machine to machine.
>
> e.g. cp {from-blah} {to-blah}
>
> Including copy file.txt \\{machine}\c$
>
> i.e. It checks my account credentials there, gives me / (root) access,
> and just lets me get on with my day. (Access as in can type
> '//{machine}/{dir}' - let permissions there determine whether I can
> write anything or not.)
>
> I get that Samba and NFS are out there, but IIRC each requires a
> separate list of accounts / passwords / permissions. It is ludicrous to
> scp things everywhere - no point encrypting over my local network, which
> I entirely control. [rcp is frowned upon due to open-text passwords, and
> I can accept that, but it seems it is encrypt everything (scp) or
> nothing (rcp) - just encrypt the password only and get on with it.]
>
> None of this mount this or that, just let me get on with it. How?
> {not -everything- understands / accepts smb://...}
>
> - granted, I'm taking advantage of a 'feature' of windows, if you have
> the same userid / password on two non-domain machines, there is no
> prompt for authentication. I'm OK if on Linux I have to do the same, and
> make sure the uid's are the same.
>
> - don't really want to go through the rigamarole of PAM, just use the
> local passwd files, already - even if I do figure out how to mutually
> replicate PAM between two machines. (Tips welcome.) Even if I had PAM,
> it's not clear to me what syntax to use (everywhere) for
> //machine/dir-hierarchy/filename
>
> I get Windows natively understands smb and Linux doesn't (only some
> things understand smb://) - what does Linux natively understand that
> uses the local passwd file? (From past threads, some just gave up on
> trying to use NFS and just use Samba.)
>
> Suggestions, links?
>
>
> _______________________________________________
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
> http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20130805/eb0b31c2/attachment.sig>
More information about the kwlug-disc
mailing list