View previous topic :: View next topic |
Author |
Message |
zeroclip n00b

Joined: 02 Apr 2004 Posts: 38
|
Posted: Fri Apr 08, 2005 12:23 am Post subject: sshfs file corruption |
|
|
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 |
|
 |
JPMRaptor Guru


Joined: 04 Oct 2002 Posts: 410 Location: Maryland
|
Posted: Fri Apr 08, 2005 10:59 am Post subject: |
|
|
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 |
|
 |
m00dawg Tux's lil' helper


Joined: 27 Jan 2003 Posts: 145 Location: Texas
|
|
Back to top |
|
 |
Gherald Veteran


Joined: 23 Aug 2004 Posts: 1399 Location: CLUAConsole
|
Posted: Fri Apr 08, 2005 3:13 pm Post subject: |
|
|
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 |
|
 |
zeroclip n00b

Joined: 02 Apr 2004 Posts: 38
|
Posted: Fri Apr 08, 2005 4:40 pm Post subject: |
|
|
shfs works very well thanks alot And thanks for the rsync tip. Very usefull  |
|
Back to top |
|
 |
Gherald Veteran


Joined: 23 Aug 2004 Posts: 1399 Location: CLUAConsole
|
Posted: Fri Apr 08, 2005 9:49 pm Post subject: |
|
|
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 |
|
 |
Voltago Advocate


Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Fri Apr 08, 2005 10:00 pm Post subject: |
|
|
For completeness, sshfs-fuse should be mentioned which eliminates the need for the lufis bridge. |
|
Back to top |
|
 |
Gherald Veteran


Joined: 23 Aug 2004 Posts: 1399 Location: CLUAConsole
|
Posted: Fri Apr 08, 2005 10:17 pm Post subject: |
|
|
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  |
|
Back to top |
|
 |
frilled Retired Dev


Joined: 15 Mar 2004 Posts: 386 Location: Atlantis, inner city ring
|
Posted: Thu Nov 24, 2005 11:38 am Post subject: |
|
|
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  |
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 |
|
 |
tuxmin l33t


Joined: 24 Apr 2004 Posts: 838 Location: Heidelberg
|
Posted: Thu Nov 24, 2005 1:16 pm Post subject: |
|
|
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 |
|
 |
frilled Retired Dev


Joined: 15 Mar 2004 Posts: 386 Location: Atlantis, inner city ring
|
Posted: Thu Nov 24, 2005 1:20 pm Post subject: |
|
|
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 |
|
 |
frilled Retired Dev


Joined: 15 Mar 2004 Posts: 386 Location: Atlantis, inner city ring
|
Posted: Wed Jan 11, 2006 7:06 am Post subject: |
|
|
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 |
|
 |
|