maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Integrate SSH/SCP with File Manager (https://talk.maemo.org/showthread.php?t=72518)

AndrewX192 2011-04-26 03:23

Integrate SSH/SCP with File Manager
 
Has anyone been able to get a SSH/SCP remote file system to be accessible in the hildon file manager, to save/manage files directly over the network (like nautilus's built in SSH support)?

aligatro 2011-04-26 05:46

Re: Integrate SSH/SCP with File Manager
 
You need something like Sshfs and mount it to some visible folder.

AndrewX192 2011-04-26 06:24

Re: Integrate SSH/SCP with File Manager
 
Quote:

Originally Posted by aligatro (Post 995404)
You need something like Sshfs and mount it to some visible folder.

I figured as much, but I'd like to have it listed as a device (like how USB flash drives are handled).

tswindell 2011-04-26 07:35

Re: Integrate SSH/SCP with File Manager
 
Then mount it under /media I think that might make it show up as a seperate drive.

aligatro 2011-04-26 14:55

Re: Integrate SSH/SCP with File Manager
 
Quote:

Originally Posted by tswindell (Post 995423)
Then mount it under /media I think that might make it show up as a seperate drive.

Tried it. Shows up as 3rd drive, but doesn't show files inside. It's like it detects filesystem mounted and only allows ext#, fat, etc..

[added]

Oh and mounting to some random folder inside any of the existing drives shows it as a file; making it unusable.

rosh 2011-04-26 15:12

Re: Integrate SSH/SCP with File Manager
 
Quote:

Originally Posted by AndrewX192 (Post 995366)
Has anyone been able to get a SSH/SCP remote file system to be accessible in the hildon file manager, to save/manage files directly over the network (like nautilus's built in SSH support)?

Yap, Im using it everyday and very helpful.

Install SSH server & client (same package) on N900. Give a password during the installation.

Then install WinSCP on your PC. You need the password (which you typed in the previous step), username (which is usually 'root') and ip address (type ifconfig on n900 terminal to get it)

Put those values and boom, you done.

Note that ur pc and n900 has to be in the same network.

Megaltariak 2011-04-26 15:20

Re: Integrate SSH/SCP with File Manager
 
The OP need answer on how to access ssh server from the N900, not on how to access ssh server from Windows.
Personally I have no problem with sshfs + filebox, which is better than the original file manager.
But for me the best way is still the good old terminal :)

rich c 2011-04-26 15:34

Re: Integrate SSH/SCP with File Manager
 
I wrote a little shell script some time ago using sshfs that prompted for remote host and user name/password and mounted to a pre-defined mount point. I had uploaded it to a couple of forums at the time but it was so long ago they seem to be gone! I might have a copy at work...

It really was basic though, just asked for input of the above variables and then did something like
Code:

sshfs <user>@host:/home/<user> /home/<user_on_local_host>/remote-home
.

jackburton 2011-04-26 16:10

Re: Integrate SSH/SCP with File Manager
 
This sounds like something to try with autofs. I just tried to load the autofs4 module into the power kernel and it's there.

some ideas:
https://wiki.archlinux.org/index.php/Autofs

http://www.mccambridge.org/blog/2007...se-and-autofs/

Update:
Just realized somebody may have to port the user space autofs daemon for this to work.


All times are GMT. The time now is 14:27.

vBulletin® Version 3.8.8