Networking Forums

Networking Forums > Computer Networking > Linux Networking > SSHFS, NFS, ... : what's the best? what else is there?

Reply
Thread Tools Display Modes

SSHFS, NFS, ... : what's the best? what else is there?

 
 
linuxadmin@yandex.ru
Guest
Posts: n/a

 
      03-05-2007, 10:39 AM
hello everyone!

i have a notebook and a desktop-pc, both running opensuse.

i want to be able to seamlessly connect and disconnect each
computers from the aspect of storage: just to plug in
the network cable into the notebook and few seconds later
(automatically) to have desktop-pc storage mounted
(and unmounted after disconnection).

it that possible (and implementable in a easy way?)
what protocol can be used? SSHFS? NFS? what else is there?
(i know, there is also SMBFS. but it would be great to reflect all
permissions
correctly and AFAIK SMBFS is not able to do this for *nix, right?)

thanks in advance!

 
Reply With Quote
 
 
 
 
Sir Jackery
Guest
Posts: n/a

 
      03-05-2007, 04:19 PM
On Mon, 5 Mar 2007, (E-Mail Removed) wrote:

> hello everyone!
>
> i have a notebook and a desktop-pc, both running opensuse.
>
> i want to be able to seamlessly connect and disconnect each
> computers from the aspect of storage: just to plug in
> the network cable into the notebook and few seconds later
> (automatically) to have desktop-pc storage mounted
> (and unmounted after disconnection).
>
> it that possible (and implementable in a easy way?)
> what protocol can be used? SSHFS? NFS? what else is there?
> (i know, there is also SMBFS. but it would be great to reflect all
> permissions
> correctly and AFAIK SMBFS is not able to do this for *nix, right?)
>
> thanks in advance!


I would go with NFS, unless you are communicating over an insecure link in
which case I would go with the encrypted SSHFS. I wouldn't use SMBFS
unless you need to connect to Windows shares. I suppose if you tie an
interrupt to your NIC's cable insertion (assuming it can flag one) you can
configure things to automagically work. That wouldn't be very *nixie of
you though.


--Sir Jackery
 
Reply With Quote
 
Carbon
Guest
Posts: n/a

 
      03-06-2007, 04:22 AM
On Mon, 05 Mar 2007 03:39:08 -0800, linuxadmin wrote:

> hello everyone!
>
> i have a notebook and a desktop-pc, both running opensuse.
>
> i want to be able to seamlessly connect and disconnect each computers
> from the aspect of storage: just to plug in the network cable into the
> notebook and few seconds later (automatically) to have desktop-pc
> storage mounted (and unmounted after disconnection).
>
> it that possible (and implementable in a easy way?) what protocol can be
> used? SSHFS? NFS? what else is there? (i know, there is also SMBFS. but
> it would be great to reflect all permissions correctly and AFAIK SMBFS
> is not able to do this for *nix, right?)
>
> thanks in advance!


I'm using sshfs to connect two Ubuntu boxes. It took only a few minutes to
set up and is extremely convenient to use.

I installed sshfs, added the fuse module to /etc/modules, added myself to
the fuse group, logged out and back in to activate the group membership,
and mounted the remote partition with sshfs me@otherbox: ~/mountdir. It's
very convenient to use and I don't have to be root to mount my remote
share. I can unmount just as easily, fusermount -u ~/mountdir.

You can list the sshfs partition in /etc/fstab, enabling you to mount the
fileshare with mount -a or even automount if you like.

This trick is hack #84 in O'Reilly's "Ubuntu Hacks." It's an excellent
linux book, as are "Linux Server Hacks", vols 1 & 2. I haven't used
opensuse but the basic method will be similar.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sshfs to a machine ok but ls fail with Permission denied TsanChung Linux Networking 2 08-15-2008 02:37 PM



1 2 3 4 5 6 7 8 9 10 11