02-15-2013, 07:22 AM | #1 |
Enthusiast
Posts: 35
Karma: 470250
Join Date: Feb 2013
Device: k5
|
where is ssh?
# ssh
-sh: ssh: not found checked /bin /sbin /usr/bin /usr/sbin find / ssh ... find: ssh: No such file or directory I can ssh into kindle... /usr/bin/scp is present and used foxed. reminder this is Kindle Touch only Last edited by peepo; 02-15-2013 at 07:39 AM. |
02-15-2013, 08:19 AM | #2 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
So are you looking for the ssh client on the Kindle or the ssh server on the Kindle? The server on the Kindle is **not** named ssh. It will be sshd (daemon) or one of the names used for the server by dropbear. It just depends on what you installed to your Kindle (there is more than one networking package for the Kindles). |
|
02-15-2013, 08:19 AM | #3 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
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
|
/mnt/us/usbnet/bin/sshd
|
02-15-2013, 08:20 AM | #4 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
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
|
and for me
/mnt/base-us/usr/bin/ssh /etc/upstart/sshd.conf |
02-17-2013, 04:56 AM | #5 |
Enthusiast
Posts: 35
Karma: 470250
Join Date: Feb 2013
Device: k5
|
on the Kindle Touch I would like to run:
$ ssh jaymini@192.168.15.20 -X then say: $ midori & or similar /mnt/base-us/usr/bin/ssh not present as yet... /mnt/base-us/usr/ also not present... /usr/sbin/sshd exists, but not clear to me how this would help... ie sshd lets me login from another machine, but this is not what I am trying to do and once again thanks for the fantastic support |
02-17-2013, 08:41 AM | #6 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
You want the ssh **CLIENT** on your Kindle Touch. Got It.
Depending on which USB networking package you installed, you may already have it. Names (with links) to what you have already installed please. |
02-17-2013, 09:39 AM | #7 | |||
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
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:
dev is the PC name on the kindle in my case: [root@kindle root]# ssh me@dev Quote:
However me@dev ~ $ midori would give Quote:
me@dev ~ $ DISPLAY=:0 midori would work but open the browser on your PC not the kindle. So... If you are trying to run a midori browser on the KINDLE that is in fact installed on the PC.. say so. as this is indeed possible. if you are simply trying to start applications on your PC from KINDLE then you already have the solution. |
|||
02-17-2013, 11:50 AM | #8 |
Enthusiast
Posts: 35
Karma: 470250
Join Date: Feb 2013
Device: k5
|
installed Launcher and kterm
# ls /mnt/us/extensions/ helper kterm but not 'extend' package as yet: https://wiki.mobileread.com/wiki/Kind...:_.22Extend.22 these instructions are a little vague, and I am not sure of the method or intention. though clearly openssh is included. is there another simpler way to install ssh client? |
02-17-2013, 12:04 PM | #9 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Which "K5" the K5-Touch or the K5-Paperwhite?
Install the USBnetworking package, which includes both dropbear and OpenSSH builds. |
02-17-2013, 12:28 PM | #10 |
Enthusiast
Posts: 35
Karma: 470250
Join Date: Feb 2013
Device: k5
|
K5 touch have USBnetworking package and dropbear,
/usr/bin/dropbear but... |
02-17-2013, 12:31 PM | #11 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
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
|
K5 Touch.
Install usbnetworking. reboot. done. That's EXACTLY what I just demonstrated above with. |
02-17-2013, 12:40 PM | #12 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
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:
Code:
#!/bin/sh find / -iname '*'"$@"'*' /mnt/us/usbnet/bin/dropbearmulti /usr/sbin/dropbearmulti /usr/bin/dropbear /usr/local/etc/dropbear [root@kindle root]# filegrabber /mnt/us/usr/bin/ssh Code:
copying /mnt/us/usr/bin/ssh to /mnt/us/export/ssh/bin/ssh Searching 880 user libs, 85 libs, 15 extended dirs libutil.so.1 kindle supported at /lib/libutil.so.1 /lib support detected libz.so.1 kindle supported at /usr/lib/libz.so.1 /usr/lib support detected libcrypt.so.1 kindle supported at /lib/libcrypt.so.1 /lib support detected libc.so.6 kindle supported at /lib/libc.so.6 /lib support detected Export complete at /mnt/us/export/ssh ensure you run ssh like: cd /mnt/us/export/ssh/bin; LD_LIBRARY_PATH=../lib:$LD_LIBRARY_PATH ./ssh The binary should "just-run" - without the extra libs. Cheers |
|
02-17-2013, 12:44 PM | #13 |
Enthusiast
Posts: 35
Karma: 470250
Join Date: Feb 2013
Device: k5
|
many thanks twobob for your patience,
so onwards to the crux: "So... If you are trying to run a midori browser on the KINDLE that is in fact installed on the PC.. say so. as this is indeed possible." Howto? ssh running fine now, should add to Touch notes, waiting on Howto, tx again Last edited by peepo; 02-17-2013 at 01:00 PM. |
02-17-2013, 12:46 PM | #14 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Give us the link to the USBnetworking package you installed - there is more than one of them.
|
02-17-2013, 01:28 PM | #15 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
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:
Basically you convince the PC that the kindle is a display like DISPLAY=:2 or something and open the application in that. I have lost the thread exactly where I did it. here is a screen type solution http://hackaday.com/2012/09/11/using...avel-computer/ here is an old python solution https://www.mobileread.com/forums/sho...41#post1726641 That sort of thing anyways. if I find the thread I will share it. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SSH Help | Jongwe | Kindle Developer's Corner | 75 | 04-13-2019 06:26 PM |
Help with SSH | BillyBigStuff | Kindle Developer's Corner | 1 | 08-05-2012 04:23 AM |
Need SSH help | ijoecoles | Kindle Developer's Corner | 18 | 06-19-2012 09:50 AM |
SSH Guide | knc1 | Kindle Developer's Corner | 2 | 03-19-2012 08:26 AM |
SSH to Kindle | Zorz | Kindle Developer's Corner | 16 | 01-15-2010 01:18 AM |