[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sharing files on a local network



Raf Czlonka <rjc@linuxstuff.pl> writes:

> On Sun, Oct 23, 2011 at 11:25:16AM BST, yudi v wrote:
>> I have a Debian PC connected to the Internet via mobile broadband and I have
>> this Internet connection shared with an ubuntu pc via Ethernet connection.
>> Internet connection works fine.
>
> Let me recap:
>
> Internet over mobile <---> Debian PC <---> Ubuntu PC
>
>> I can ping the Debian PC but cannot ping the Ubuntu PC, how come?
>
> Where from?
>
>> I would like to share files between these two systems. From what I
>> understand my options are Samba, SSH and NFS. I only used SSH before and it
>> takes a while to set-up securely and I haven't used NFS or Samba, not sure
>> how steep the learning curve is. Because it's a direct ethernet connection,
>> SSH is more than what I need for this situation. I don't think a secure
>> connection is needed. Is there a simpler way of achieving this?
>
> If you're only trying to share files between Debian and Ubuntu, without
> any MS Windows involved, you don't need Samba. As you mentioned before
> SSH is an overkill as well - I'd suggest NFS in that case, it's very
> easy to set up.
> There are other ways of achieving this, e.g. FTP, but IMHO using a
> mounted filesystem is easier and more convenient than using some sort of
> client software, especially on home-only network.

I don't understand why a few people have passed over ssh as being
overkill.

Its easiest of all to setup.  (well excepting the nautilus suggestion)

I mean with fuse and sshfs, then it acts much the same as nfs far as
enduser experience.

fuse is likely to already be installed, and possibly sshfs as well,
but if not then its just an apt-get away.  And of course sshd is just
a matter of starting the daemon.

nfs doesn't really apply to windows commonly, although there is an nfs
program for windows.  

These days its not that hard to get sshd running on windows either.
Windows 7 is bit more than it used to be, what with needing a new user
and such.. but still once its setup... ssh is quite a nice solution.

In fact with the choices mentioned so far (again excepting nautilus)
sshd is the most versatile.


Reply to: