Go Back   maemo.org - Talk > Devices > Nokia N900
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #1  
Old 2009-12-10, 22:37
AliB AliB is offline
 
Join Date: Dec 2009
Posts: 9
Thanks!: 0
Thanked 3 Times in 2 Posts
Default Fuse and sshfs?

So I got my N900 today, and naturally the first thing I did was install the ssh-client. It's awesome, I love having a fully featured ssh-client, including X-forwarding, in my pocket.

The only thing missing in the ssh-department for me is sshfs. I tend to use it alot and it would be really sweet to have.

Naturally, I googled and forum searched, and found someone claiming there was already a functioning port of fuse and sshfs for the N900. I even found a fuse+sshfs port that might possibly work (mfuse), but it hasn't seen any code submissions since january... And I haven't found anyone linking to it (or any other fuse port for that matter) in an N900/fremantle context. Basically I'm rather hesitant about trying it, as I don't want to cause any potential harm to my precious new toy

So, does anyone know if it works? Or is there another port floating around the net that I simply haven't found?
Reply With Quote
  #2  
Old 2009-12-10, 23:51
dnastase dnastase is offline
 
Join Date: Oct 2007
Location: New York, US
Posts: 121
Thanks!: 10
Thanked 54 Times in 23 Posts
Default Re: Fuse and sshfs?

There is sshfs and it works. I use it.
In one of the maemo repositories there is the sshfs package.
If it's in the maemo-devel then be aware of the risks (not very well tested software, basically you're the tester).
Reply With Quote
The Following 6 Users Say Thank You to dnastase For This Useful Post:
  #3  
Old 2009-12-10, 23:56
qole's Avatar
qole qole is offline
Moderator
 
Join Date: Oct 2007
Location: Vancouver, BC, Canada
Posts: 7,109
Thanks!: 7,369
Thanked 8,820 Times in 2,918 Posts
Default Re: Fuse and sshfs?

Yes, sshfs is in the repos, I use it too. Probably in the extras-devel repo.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
Reply With Quote
  #4  
Old 2009-12-11, 01:15
AliB AliB is offline
 
Join Date: Dec 2009
Posts: 9
Thanks!: 0
Thanked 3 Times in 2 Posts
Default Re: Fuse and sshfs?

That explains why I couldn't find it, hadn't activated extras-devel apparently.

Anyway, thanks for the help!
Reply With Quote
  #5  
Old 2009-12-15, 13:54
Eric G Eric G is offline
 
Join Date: Dec 2007
Location: Aspen Colorado
Posts: 127
Thanks!: 124
Thanked 41 Times in 23 Posts
Default Re: Fuse and sshfs?

So I checked the Maemo Extras-devel catalog and didn't see SSHFS as a standalone application. I enabled extras-devel, and I did find a bunch Dropbear utilities and gftp that say they support sshfs, but I really just want the same functionality I have on my desktop, just "sshfs user@server /share /mountpoint." Which one do you use?

Keep in mind, I want to mount volumes on my N900, not the other way around.
Reply With Quote
  #6  
Old 2009-12-15, 14:46
白い熊 白い熊 is offline
 
Join Date: Sep 2009
Posts: 451
Thanks!: 112
Thanked 334 Times in 123 Posts
Default Re: Fuse and sshfs?

http://sumoudou.org/0/12.html
Reply With Quote
The Following 2 Users Say Thank You to 白い熊 For This Useful Post:
  #7  
Old 2009-12-15, 18:44
qole's Avatar
qole qole is offline
Moderator
 
Join Date: Oct 2007
Location: Vancouver, BC, Canada
Posts: 7,109
Thanks!: 7,369
Thanked 8,820 Times in 2,918 Posts
Default Re: Fuse and sshfs?

As White Bear points out on his website, you have to do it from the (root) command line:

Code:
apt-get install sshfs
Note that there's no gui for this, so you'll have to do everything on the command line...

e.g. from root:

Code:
modprobe fuse
mkdir -p /home/user/MyDocs/lanvideo
sshfs bob@192.168.0.5:/media/videos /home/user/MyDocs/lanvideo -o allow_other
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
Reply With Quote
The Following 7 Users Say Thank You to qole For This Useful Post:
  #8  
Old 2009-12-16, 04:06
Eric G Eric G is offline
 
Join Date: Dec 2007
Location: Aspen Colorado
Posts: 127
Thanks!: 124
Thanked 41 Times in 23 Posts
Default Re: Fuse and sshfs?

That worked great! Thanks again!
Reply With Quote
  #9  
Old 2009-12-16, 06:11
debernardis's Avatar
debernardis debernardis is offline
 
Join Date: Dec 2006
Location: Sicily
Posts: 2,142
Thanks!: 1,540
Thanked 2,054 Times in 821 Posts
Default Re: Fuse and sshfs?

There seem to be some problems though. I cannot "fusermount -u mount_path" because it complains "mount: can't find mount_path in /etc/fstab".
__________________
Ernesto de Bernardis

Reply With Quote
  #10  
Old 2009-12-20, 12:02
Kenchy Kenchy is offline
 
Join Date: Dec 2009
Location: Engerland
Posts: 21
Thanks!: 7
Thanked 13 Times in 7 Posts
Default Re: Fuse and sshfs?

There seems to be a bug (maybe intentional) in the fuse package.

In debian proper any user can mount a fuse filesystem (that is the point of fuse after all) if they are a member of the group "fuse".

There is a udev rule (/etc/udev/rules.d/91-permissions.rules) that tries to set the group ownership of /dev/fuse to "fuse", but fails (presumably) because the group doesn't exist.

To be able to mount sshfs as a user you can either (all must be done as root)

a) chown root:users /dev/fuse (which doesn't persist after a reboot)

b) edit the line in 91-permissions.rules so that it references the "users" group rather than "fuse" (wot I done).

c) add the fuse group and add "user" to it.

The best solution is probably d) add the "fuse" group when the fuse package is installed.

I'll try and find out how I report that bug as I'm a bit new to the N900/maemo.
Reply With Quote
The Following 3 Users Say Thank You to Kenchy For This Useful Post:
Reply

Tags
fuse, ssh, sshfs


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

Forum Jump


All times are GMT. The time now is 19:47.