Results 1 to 5 of 5

Thread: Linux - Linux

  1. #1

    Linux - Linux

    How can I connect 2 Linux machines? To share dirs and so.

    I could see all Windows/Linux machines browsing to My Network Places / [workgroup] on a windows machine.

    How can this be done with Linux only machines???

  2. #2
    Member
    Join Date
    Apr 2004
    Location
    Eugene, Oregon
    Posts
    207
    There are several ways to do this in Linux. The two ways I find easiest are as follows:

    1. NFS. NFS is the native *nix network file system which allows you to mount remote directories as if they were local parts of your filesystem (think mapped drives in Windows.) Depending on how you want to set it up, you can run NFS servers on each Linux machine or just one to swap files back and forth.

    Here's an online howto: http://nfs.sourceforge.net/nfs-howto/

    2. SSH. SSH is the secure transfer protocol which replaced telnet as the preferred way to access remote systems, since everything in SSH is encrypted. If you're running sshd on each of your Linux machines, it's as simple as using scp (secure copy) to copy files back and forth. It works like this:

    scp filename hostname:/directory/directory

    For instance, if I was copying a file called example.txt to my second computer called moloch, it would be:

    scp example.txt moloch:/home/chris

    scp is great for doing individual copy operations, especially when you're copying things like .html files and what not to a remote web server. NFS is easier for when you just want to share files within your own LAN.

    Hope that helps!

  3. #3
    Junior Member
    Join Date
    May 2004
    Location
    nj
    Posts
    51
    Honestly, the easiest way to accomplish the equivilant with linux only is to use samba.

    There is nothing wrong with that and it will give you the same functionality as the net neighborhood.

    Otherwise, NFS is your answer. I assume that these are local machines, on the same net. NFS is a bit tedious to set up and you have to get the fstab just the way you want it, but I think it is worth it.

    Like kungfu said, scp and ssh are great tools, I rely on them every day, but they dont allow any gui type visals you are likely used to.

    If you want all this to be encrypted, try SHFS.

    Ragards,

    Mike
    NOBODY reads my email
    then who would want to anyway

  4. #4
    Guest
    woooooo

  5. #5
    Mentor
    Join Date
    May 2004
    Location
    Louisiana
    Posts
    1,206
    You said no, but they didn't listen?

Similar Threads

  1. Print from Linux to Linux Debian 3.1
    By lth98105 in forum Linux - Hardware, Networking & Security
    Replies: 5
    Last Post: 05-10-2006, 11:13 PM
  2. problem with linux to linux file transfer...
    By neknek in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 04-18-2005, 02:43 AM
  3. file transfer from linux to linux
    By neknek in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 04-18-2005, 02:32 AM
  4. Familiar Linux (iPaq linux)
    By popcorn in forum Linux - General Topics
    Replies: 2
    Last Post: 11-24-2003, 03:17 PM
  5. Samba Shares - Linux to Linux
    By drizzle in forum Linux - Hardware, Networking & Security
    Replies: 4
    Last Post: 01-26-2002, 07:39 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •