Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sshfs file corruption
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
zeroclip
n00b
n00b


Joined: 02 Apr 2004
Posts: 38

PostPosted: Fri Apr 08, 2005 12:23 am    Post subject: sshfs file corruption Reply with quote

Hi,
Recently i needed sshfs for something and i installed lufs and fuse. I mount with lufis. I can browse the remotly mounted fs. But if i try to transfer files over 1mb i get currupted files. If i use ftpfs instead it works. But i really want to use sshfs.

Is this a know problem or what? Thanks.
Back to top
View user's profile Send private message
JPMRaptor
Guru
Guru


Joined: 04 Oct 2002
Posts: 410
Location: Maryland

PostPosted: Fri Apr 08, 2005 10:59 am    Post subject: Reply with quote

If you're just using sshfs to transfer files around you're probably better off using scp instead.
_________________
Underwater photo gallery
New pictures, Oct 2005
Back to top
View user's profile Send private message
m00dawg
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2003
Posts: 145
Location: Texas

PostPosted: Fri Apr 08, 2005 2:35 pm    Post subject: Reply with quote

You could also use sftp.
_________________
www.moocowproductions.org
Back to top
View user's profile Send private message
Gherald
Veteran
Veteran


Joined: 23 Aug 2004
Posts: 1399
Location: CLUAConsole

PostPosted: Fri Apr 08, 2005 3:13 pm    Post subject: Reply with quote

I use "shfs" (emerge shfs) with absolutely no problems, and it is one of my favorite tools.

Another great way of transfering files over ssh that many people don't know about is:

Code:
rsync -a -e ssh /some/local/path user@server:/some/remote/path

(or vice-versa)
Back to top
View user's profile Send private message
zeroclip
n00b
n00b


Joined: 02 Apr 2004
Posts: 38

PostPosted: Fri Apr 08, 2005 4:40 pm    Post subject: Reply with quote

shfs works very well thanks alot :) And thanks for the rsync tip. Very usefull :D
Back to top
View user's profile Send private message
Gherald
Veteran
Veteran


Joined: 23 Aug 2004
Posts: 1399
Location: CLUAConsole

PostPosted: Fri Apr 08, 2005 9:49 pm    Post subject: Reply with quote

Also, be sure to read drobbin's keychain stuff if you haven't already.

It begins with a somewhat technical intro to RSA/DSA encryption which may or may not interest you, but after that first part it becomes a very nice guide on how to use key based auth + keychain.
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Fri Apr 08, 2005 10:00 pm    Post subject: Reply with quote

For completeness, sshfs-fuse should be mentioned which eliminates the need for the lufis bridge.
Back to top
View user's profile Send private message
Gherald
Veteran
Veteran


Joined: 23 Aug 2004
Posts: 1399
Location: CLUAConsole

PostPosted: Fri Apr 08, 2005 10:17 pm    Post subject: Reply with quote

Voltago wrote:
For completeness, sshfs-fuse should be mentioned which eliminates the need for the lufis bridge.
Yeah, that one is on my list of "things to try once I come across info on its benefits"... in the meantime, sshfs-fuse is masked while shfs isn't, and that's good enough for me :wink:
Back to top
View user's profile Send private message
frilled
Retired Dev
Retired Dev


Joined: 15 Mar 2004
Posts: 386
Location: Atlantis, inner city ring

PostPosted: Thu Nov 24, 2005 11:38 am    Post subject: Reply with quote

Gherald wrote:
Voltago wrote:
For completeness, sshfs-fuse should be mentioned which eliminates the need for the lufis bridge.
Yeah, that one is on my list of "things to try once I come across info on its benefits"... in the meantime, sshfs-fuse is masked while shfs isn't, and that's good enough for me :wink:


One of those benefits might be that it'd be actually working nicely with a 2.6.14 kernel, which shfs does not yet (as of today) ...
_________________
"Failure is not an option!"
"Sir, we are out of further options."


Last edited by frilled on Thu Nov 24, 2005 1:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
tuxmin
l33t
l33t


Joined: 24 Apr 2004
Posts: 838
Location: Heidelberg

PostPosted: Thu Nov 24, 2005 1:16 pm    Post subject: Reply with quote

My two cents.
I tried both, shfs and sshfs-fuse with gentoo-sources-2.6.14-r1. The second is far superior regarding stability. While shfs wouldn't survive an IP change on my router (DSL) and somtimes even crash my system, a cp over sshfs-fuse continues without a hicks after a few seconds! I tested this on a 1,2GB download (one file).


Hth, Alex!!
_________________
ALT-F4
Back to top
View user's profile Send private message
frilled
Retired Dev
Retired Dev


Joined: 15 Mar 2004
Posts: 386
Location: Atlantis, inner city ring

PostPosted: Thu Nov 24, 2005 1:20 pm    Post subject: Reply with quote

Does it use identical options (meaning: can I use it as a drop-in replacement and keep my fstab unchanged)?

Edit: Well, I found out. Not so great not to have mount.sshfs around, so no mounting from fstab unless one creates a wrapper first :/ Otherwise it seems to be nice.
_________________
"Failure is not an option!"
"Sir, we are out of further options."
Back to top
View user's profile Send private message
frilled
Retired Dev
Retired Dev


Joined: 15 Mar 2004
Posts: 386
Location: Atlantis, inner city ring

PostPosted: Wed Jan 11, 2006 7:06 am    Post subject: Reply with quote

Also, sshfs-fuse seems to leak substantial amounts of memory after a couple of days. Not funny.
_________________
"Failure is not an option!"
"Sir, we are out of further options."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum