09-25-2019, 09:55 AM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Sep 2019
Device: PW2
|
usbnet requiring password, no telnetd started
Hi, I know there are bunch of threads with similar titles, but I did not find a solution for my problem.
I'm unable to log into my PW2 via telnet or ssh over usb. Telnet returns "Connection refused." SSH requires a password. I have airplane mode on, so wifi should be disabled. Firmware version 5.4.3.2 K5 JailBreak version 1.15.N-r16256 Usbnet version 0.22.N-r16474 md5sums are correct Device is unregistered if that makes a difference. Nmap reports only port 22 open, nothing on port 23. Telneting to port 22 says it's SSH-2.0-OpenSSH_8.0 - don't know if that's really openssh or dropbear. In desperation I tired manually creating a authorized_keys file in usbnet/etc as described here: https://www.mobileread.com/forums/sh...27&postcount=4 But that's not working either; still asking for a password. Maybe amazon has a factory ssh process that's not being replaced by usbnet? Anyway I really didn't want to have to setup a password or ssh key. Any help would be much appreciated. |
09-25-2019, 10:27 AM | #2 |
BLAM!
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
|
Switch to dropbear in the USBNet KUAL extension, OpenSSH doesn't support passwordless logins.
And make sure you've kept ssh over wifi disabled, too, as that disables passwordless logins, too. |
09-25-2019, 11:08 AM | #3 | |
Junior Member
Posts: 5
Karma: 10
Join Date: Sep 2019
Device: PW2
|
Quote:
Ssh over wifi is disabled. Airplane mode is on. Not sure what else to try. I did several factory downgrade ->jailbread -> reinstall cycles. Thanks for the response. Last edited by 00za; 09-25-2019 at 11:10 AM. |
|
09-25-2019, 11:29 AM | #4 | |
Zealot
Posts: 147
Karma: 20
Join Date: Jul 2019
Device: Kindle Touch (K5) Wi-Fi x 2, Kindle (7th Gen, KT2), Paperwhite 3rd Gen
|
Quote:
Sent from my Pixel XL using Tapatalk |
|
09-25-2019, 12:07 PM | #5 |
BLAM!
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
|
@00za: What the KUAL button shows is what's *pushing* the button is going to do. i.e., if you're seeing the "Use dropbear" button, you're currently using OpenSSH.
Which we already knew, since you posted the version string from the sshd above . Unless that was your *client*. Dropbear's, is, appropriately enough: Code:
Remote protocol version 2.0, remote software version dropbear_2019.78 It's also slightly outdated because I can't be arsed to maintain two set of slightly different patches for a feature I don't use (KOReader's sshd, I mean, since I maintain USBNet). Last edited by NiLuJe; 09-25-2019 at 12:10 PM. |
09-25-2019, 12:59 PM | #6 | |
Junior Member
Posts: 5
Karma: 10
Join Date: Sep 2019
Device: PW2
|
Quote:
KUAL shows me Code:
Allow SSH over WiFi SSHD: Use OpenSSH I have tried switching between the two but nothing changes. I wonder if a startup script is not picking up my settings correctly so it's dropping me into openssh no matter what? Or maybe I've overlooked something dumb. |
|
09-25-2019, 01:44 PM | #7 | |
Junior Member
Posts: 5
Karma: 10
Join Date: Sep 2019
Device: PW2
|
Quote:
I brought up the usb0 with Code:
ifconfig usb0 192.168.15.244 Gotta read the manual again and figure out how to set it up. Thanks very much for your help. Sorry for wasting your time! |
|
09-25-2019, 02:15 PM | #8 |
Junior Member
Posts: 5
Karma: 10
Join Date: Sep 2019
Device: PW2
|
This post helped: https://www.mobileread.com/forums/sh...89&postcount=2
Assign usb0 any other address on the 192.168.15.x subnet, then you can telnet into 192.168.15.244. Thanks again very much for the help and the awesome software! Please mark this solved. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Glo a epub file that confuses my Glo requiring a reset | leftright | Kobo Reader | 9 | 08-16-2015 09:09 AM |
Paperwhite 2 usbnet asks for root password | cokolokolo | Kindle Developer's Corner | 2 | 09-07-2014 04:51 PM |
telnetd on a K4 | Oddbloke | Kindle Developer's Corner | 7 | 07-27-2013 07:34 PM |
Android Requiring a password to unlock. | Peter | enTourage Archive | 0 | 04-04-2010 05:52 PM |
Fetch feeds requiring authentication | willow | Calibre | 0 | 08-06-2008 05:39 AM |