open_Netcenter Forum open_Netcenter Forum
Registrieren | FAQ | Suche | Mitgliederliste | Heutige Beiträge | Einloggen



Autor Thema: Mount NetCenter remotely via SSH
geert
Ist öfters hier
**
ID # 83


  Erstellt am 10. Juni 2009 11:51 (#1)  |  Zitat Zitat   PN PN   E-Mail E-Mail
I found an easy way to mount my WD NetCenter directories securely and remotely. I tried hard to get sftp-server going, which is missing from dropbear. I even cross-compiled openssh with the hndtools-3.0 toolchain to no avail. I always get dynamic loader (ld.so.1) errors when trying to run my sftp-server.

I found that shfs-0.35 can do the job. It looks a lot like using fuse and sshfs except that shfs does not need a remote server like sftp-server. It uses simply shell (or Perl) commands on the remote side. Make sure that the NetCenter has a sh executable that supports functions. msh of the standard busybox is not good enough. I got busybox-1.5.1.full that contains ash. You have to change the shfs-0.35 sources a bit to indicate the use of /opt/bin/ash.
But then it works great.

-----------------------
Geert

Beiträge: 23 | Mitglied seit: Februar 2007 | IP-Adresse: gespeichert
ivenae
Ist öfters hier
**
ID # 144



-979-261-40
  Erstellt am 13. Juni 2009 01:50 (#2)  |  Zitat Zitat   PN PN   E-Mail E-Mail
cool thing, i looked a long time around for such a tool, sslwrap wasn't able to wrap ftp.

i would use the full bash as a shell (version 4.0), so my busybox has really no further support beyond msh.

can you make your binary for shfs availlable or send it to me via mail? i'm lazy at the moment and have so much other things to do :D

Beiträge: 40 | Mitglied seit: Oktober 2007 | IP-Adresse: gespeichert



| open_Netcenter Web - Infos, Handhabung, Anleitungen | Boardregeln


Tritanium Bulletin Board 1.6
© 2010–2014 Tritanium Scripts