how to transfer files between 2 linux computers

A. Jorge Garcia calcpage at aol.com
Wed Dec 7 17:35:49 UTC 2011


>>
From: Frank <mailinglists at lavabit.com>
To: ubuntu-users <ubuntu-users at lists.ubuntu.com>
Sent: Wed, Dec 7, 2011 8:43 am
Subject: Re: how to transfer files between 2 linux computers


Why not use SSHFS ?


http://olex.openlogic.com/wazi/2011/shh-openssh-secrets-here/


sshfs is perfect for anyone with multiple computers; using it is quicker
and easier than setting up Samba or NFS, and your network transmissions
are encrypted like any SSH session.

Once again let’s say you’re using a laptop and your files are on a
desktop machine. First create a mountpoint on the laptop. I call mine
sshfs:

carla at laptop:~$ mkdir sshfs

Then mount a remote directory like this:

carla at laptop:~$ sshfs carla at desktop:/home/carla/stuff sshfs/

You’ll need to enter your remote password (unless you’ve set up public
key authentication), and then poof! Your remote files are now as good as
local. You can do your work with local applications, and your data files
are all in one place on your master PC. When you’re finished, unmount
the remote directory with fusermount -u sshfs, replacing sshfs with your
own mountpoint.
<<

Sorry, I never used sshfs before. I usually just use ssh from a 
terminal or connect to server from the desktop.

I tried what you said:
(1) I created a mount point at:
/home/shadowfax/sshfs

(2) then I ran:
sshfs guardian at 10.5.254.247:/home/guardian /home/shadowfax/sshfs

(3) it asked for the remote passwd and I gave it

(4) I got this error:
fuse: failed to open /dev/fuse: Permission denied

What did I do wrong?

TIA,
A. Jorge Garcia
Applied Math and CompSci
http://shadowfaxrant.blogspot.com
http://www.youtube.com/calcpage2009






More information about the ubuntu-users mailing list