Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 09-24-2013, 09:57 AM   #16
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by hawhill View Post
Driving SSH(fs) via expect is a bit awful of an idea, SSH has it's private/public key authentification for doing such stuff seemlessly :-)
And there are worked examples in my series of posts on using sshd.

Although I did not provide worked examples of using hardcoded commands inside of the remote key record.

I had to leave a small reason to answer: RTFM from time-to-time.
knc1 is offline   Reply With Quote
Old 09-24-2013, 12:01 PM   #17
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by hawhill View Post
Driving SSH(fs) via expect is a bit awful of an idea, SSH has it's private/public key authentification for doing such stuff seamlessly :-)
I totally agree... Of course that presumes that the "end user" is savvy enough to set it up heh.

That said, fortunately I suck at tcl so bad that this monstrosity will never happen... well, not by my hand
twobob is offline   Reply With Quote
Advert
Old 09-24-2013, 12:02 PM   #18
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
CONCEPT: Debian loop mounts eat away at the read/write cycle lifetime of the kindles storage.

Connecting to a debian.ext3 image remotely and devving on that.

Gonna have a go at that now.

Why not.
twobob is offline   Reply With Quote
Old 09-24-2013, 12:17 PM   #19
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
me@dev ~ $ ssh root@ktdb
Quote:
Welcome to KT (192.168.1.999 & 192.168.15.244)
[root@kindle root]# ls /mnt/us/debian
Quote:
(nothing)
[root@kindle root]# /mnt/us/extensions/sshfs/sshfs
me@dev's password:
Quote:
yada
[root@kindle root]# remote-debian.sh
Quote:
[*] Mounting Rootfs...
[*] Preparing Filesystem...
[*] Preparing Network Connections...
[*] Starting Debian shell...
root@kindle:/# uname -r
Quote:
2.6.31-rt11-lab126
root@kindle:/# ls
Quote:
bin dev home lib64 lost+found mnt proc run selinux sys usr
boot etc lib loop media opt root sbin srv tmp var
heh. seems to work okay.

nice.

Last edited by twobob; 09-24-2013 at 02:23 PM.
twobob is offline   Reply With Quote
Old 09-24-2013, 06:00 PM   #20
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
So far, so good... Tricked everyone into playing nicely, tried to handle the whole OpenSSL mess nicely on the K4/K5, hacked around the config paths to make it all neat in /mnt/us/usbnet/etc, and it seems to be working, yay \o/.

Look for the full OpenSSH suite (yes, that means ssh-agent \o/), & sshfs in the next USBNetwork release... :}.
Attached Thumbnails
Click image for larger version

Name:	2013-09-24-23:57:43_snapshot.png
Views:	309
Size:	955.9 KB
ID:	112071  

Last edited by NiLuJe; 09-24-2013 at 06:03 PM.
NiLuJe is offline   Reply With Quote
Advert
Reply

Tags
fuse, kindle, kindle 5, kindle paperwhite, sshfs


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
error when trying to mount via sshfs techiemonkey Kindle Developer's Corner 11 08-09-2012 08:43 PM


All times are GMT -4. The time now is 05:22 PM.


MobileRead.com is a privately owned, operated and funded community.