![]() |
#1 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Oct 2010
Device: Kindle 3G
|
SSH Help
Hi,
I am battling to find a step by step instruction on how to enable SSH via Wifi. Please can somebody point me in the right direction or if anyone is able to assist me I will be more than happy to write a step by step for others. I have the kindle 3 with 3g and have jailbroken the device and installed usbnetwork. I tried edited the config files to have true and true and I get asked for a password. Thanks, Jono |
![]() |
![]() |
![]() |
#2 | |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Oct 2010
Device: Kindle 3G
|
Quote:
134 Views and not a single response ![]() ![]() ![]() |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() Posts: 96
Karma: 16
Join Date: Oct 2010
Location: Netherlands
Device: Kindle 3G UK 3.03
|
That is because if you are not prolifent enough with the linux command like you are more likely to break your Kindle.
I used these instructions from post 118 and 120 (119 is my post) to get SSH over WIFI working: https://www.mobileread.com/forums/showthread.php?t=97745 But some of these instructions I had to alter a bit to get it working or to understand it (see post 119). |
![]() |
![]() |
![]() |
#4 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
+1.
If you don't know how to make it work, it means you probably don't need it in the first place, and you're liable to shoot yourself in the feet. |
![]() |
![]() |
![]() |
#5 | |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Oct 2010
Device: Kindle 3G
|
Quote:
I am proficient in linux however the reason I want the ssh to work is to transfer files via sftp instead of having the usb cable with me. I have managed to get the shell up and running I just need some more info regarding the ssh keys and where to copy them ect. I havent managed to find anything available. And remember assumption is the mother of all..... |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Connoisseur
![]() Posts: 96
Karma: 16
Join Date: Oct 2010
Location: Netherlands
Device: Kindle 3G UK 3.03
|
Quote:
https://www.mobileread.com/forums/sho...75&postcount=2 ![]() |
|
![]() |
![]() |
![]() |
#7 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@Jongwe: And you'll notice it's also in the readme...
|
![]() |
![]() |
![]() |
#8 | |||
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 556
Karma: 1102020
Join Date: Sep 2009
Device: Kindle Keyboard (rip), Kindle Voyage, Fire Tablet 10 '17, iPad '19
|
Complete beginning to end instructions for usbnet are not available and one has to piece the needed steps from documentation and forum posts and mix in some experimentation. Not sure why it's not as well supported as the other hacks as this doesn't seem 'more linux' than usual. But here is how I got ssh over wifi working with auth keys in a Windows environment:
Quote:
Quote:
To connect with Filezilla client to transfer files:
To connect with WinSCP client to transfer files:
Note that if you reboot your Kindle, the hack is disabled and you have to run the following commands again: ;debugOn ~usbNetwork ;debugOff Alternatively, to have usbnet be enabled after a reboot, simply rename \usbnet\DISABLED_auto to auto and reboot. Since you're using SSH over wifi instead of over usb, a setting of 'auto' is not so dangerous since you can still mount the kindle over usb to fix something. People using networking over usb can run into an issue where they change something on the kindle that prevents them from connecting over SSH, but since they have auto enabled, they can't mount the kindle to fix it. Quote:
Last edited by badbob001; 11-17-2010 at 01:37 PM. Reason: Added WinSCP section, Refresh command, Edits |
|||
![]() |
![]() |
![]() |
#9 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Note that, AFAIR, FileZilla *can* handle passworded private keys, if you use an ssh agent (I'm pretty sure that it handles at least putty's agent on Windows, and OpenSSH's agent on Linux).
Last edited by NiLuJe; 10-25-2010 at 03:20 PM. |
![]() |
![]() |
![]() |
#10 | |
Connoisseur
![]() Posts: 96
Karma: 16
Join Date: Oct 2010
Location: Netherlands
Device: Kindle 3G UK 3.03
|
Quote:
|
|
![]() |
![]() |
![]() |
#11 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Or, even better, use your favorite terminal emulator and OpenSSH.
Don't bother with Putty on *nix unless you really, really like the putty terminal (which I don't), or need to test it. |
![]() |
![]() |
![]() |
#12 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 556
Karma: 1102020
Join Date: Sep 2009
Device: Kindle Keyboard (rip), Kindle Voyage, Fire Tablet 10 '17, iPad '19
|
I did mention that my instructions are for a Windows environment, whose users would likely be less familiar with OpenSSH.
Last edited by badbob001; 10-25-2010 at 04:02 PM. |
![]() |
![]() |
![]() |
#13 | |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 556
Karma: 1102020
Join Date: Sep 2009
Device: Kindle Keyboard (rip), Kindle Voyage, Fire Tablet 10 '17, iPad '19
|
Quote:
Setting up a ssh agent is probably too much infrastructure for something that is meant to replace plugging in an usb port. |
|
![]() |
![]() |
![]() |
#14 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@badbob001: My message was only addressing Rinzwind post
![]() Granted ![]() I was gonna say 'But you'll have to enter your password each time!', but if it's a passwordless key, that's a moot point. Just please don't use a passwordless key pair for anything serious ![]() Last edited by NiLuJe; 10-25-2010 at 04:28 PM. |
![]() |
![]() |
![]() |
#15 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Oct 2010
Device: Kindle3
|
After copying the ebook(s) through sftp to kindle 3, how to get the new books to show up? seems like the only way I can get them to show up is to reboot the kindle, which really defeats the purpose of this wifi sftp transfer thingy.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ssh from Kindle 3 | aKarma | Kindle Developer's Corner | 6 | 09-21-2010 08:59 PM |
SSH to Kindle | Zorz | Kindle Developer's Corner | 16 | 01-15-2010 01:18 AM |
ubuntu 9.04 ssh help please | lampadena | OpenInkpot | 9 | 08-18-2009 11:21 PM |
Kindle + SSH? | Elegant Forkbomb | Amazon Kindle | 3 | 03-05-2009 08:12 AM |
iLiad How do I get ssh access to my 2.7.1 iLiad? | narve | iRex Developer's Corner | 3 | 11-28-2006 05:59 PM |