|
|
Thread Tools | Search this Thread |
12-17-2023, 09:54 PM | #1 |
Addict
Posts: 315
Karma: 26
Join Date: Jul 2012
Device: Kindle Paperwhite 4 (2018)
|
In trying to set up wifi usb connection, I can no longer connect to Scribe at all :(
I was doing so well too!
I could previously ssh via: ssh root@192.168.15.244 -vvv But I was trying to set up ssh connection via wifi. So I clicked "Open SSH". I thought I had set up the keys correctly, but apparently I had not. When I could still could connect, I created a ~/.ssh and ~/.authorized_keys file and added some public keys. I now realize this was a terrible mistake. Now I can no longer connect via ssh root@192.168.15.244 -vvv, as it prompts me for a password, and I hit enter, and I see Code:
Welcome to Kindle! debug3: receive packet: type 51 debug1: Authentications that can continue: publickey,password debug3: start over, passed a different list publickey,password debug3: preferred publickey,keyboard-interactive,password debug3: authmethod_lookup publickey debug3: remaining preferred: keyboard-interactive,password debug3: authmethod_is_enabled publickey debug1: Next authentication method: publickey debug1: Offering public key: /Users/david/.ssh/id_rsa RSA SHA256:j/LJr/t3s0BEBg0EfDqnymeVeb3++g+Y/n3TTEeqfhg debug3: send packet: type 50 debug2: we sent a publickey packet, wait for reply debug3: receive packet: type 51 debug1: Authentications that can continue: publickey,password debug1: Trying private key: /Users/david/.ssh/id_ecdsa debug3: no such identity: /Users/david/.ssh/id_ecdsa: No such file or directory debug1: Trying private key: /Users/david/.ssh/id_ecdsa_sk debug3: no such identity: /Users/david/.ssh/id_ecdsa_sk: No such file or directory debug1: Offering public key: /Users/david/.ssh/id_ed25519 ED25519 SHA256:0+9DWNocSCfBVtjcjkx3TiRLYgl35DrT5iDBbbC55uU debug3: send packet: type 50 debug2: we sent a publickey packet, wait for reply debug3: receive packet: type 51 debug1: Authentications that can continue: publickey,password debug1: Trying private key: /Users/david/.ssh/id_ed25519_sk debug3: no such identity: /Users/david/.ssh/id_ed25519_sk: No such file or directory debug1: Trying private key: /Users/david/.ssh/id_xmss debug3: no such identity: /Users/david/.ssh/id_xmss: No such file or directory debug1: Trying private key: /Users/david/.ssh/id_dsa debug3: no such identity: /Users/david/.ssh/id_dsa: No such file or directory debug2: we did not send a packet, disable method debug3: authmethod_lookup password debug3: remaining preferred: ,password debug3: authmethod_is_enabled password debug1: Next authentication method: password root@192.168.15.244's password: I'm so sad, I was doing so great! ;( since kual and mrpi are still installed; anyway to write a script that fixes it and install as mrpi package? Last edited by arooni; 12-17-2023 at 10:04 PM. |
12-17-2023, 10:03 PM | #2 | |
BLAM!
Posts: 13,494
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Quote:
|
|
Advert | |
|
12-17-2023, 10:07 PM | #3 |
Addict
Posts: 315
Karma: 26
Join Date: Jul 2012
Device: Kindle Paperwhite 4 (2018)
|
If I see "SSHD: Use OpenSSH" on usbnetwork, I should select that option so it'll default to dropbear?
Also, your readme states: "The pubkeys are stored, in OpenSSH format, in usbnet/etc/authorized_keys (i.e., the very same file that's usually found as ~/.ssh/authorized_keys on real *nix OpenSSH setups)." Yet there is no authorized_keys file in the [kindleroot]/usbnet/etc/ ; I assume I am to create one? I assume all the keys that make ssh'ing over USB won't be messed up by me creating an authorized_keys file? Last edited by arooni; 12-17-2023 at 10:20 PM. |
12-17-2023, 10:16 PM | #4 |
Wizard
Posts: 1,229
Karma: 4738758
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
These are action items, not status. So if you hit it, it will switch to OpenSSH, meaning that now it is dropbear.
|
12-17-2023, 10:25 PM | #5 | |
Addict
Posts: 315
Karma: 26
Join Date: Jul 2012
Device: Kindle Paperwhite 4 (2018)
|
I don't see an authorized_keys directory where I think there should be one?
Quote:
|
|
Advert | |
|
12-17-2023, 10:31 PM | #6 |
Wizard
Posts: 1,229
Karma: 4738758
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
It is not a directory, but a file without extension and most importantly LF line ending (UNIX).
|
12-17-2023, 10:41 PM | #7 |
Addict
Posts: 315
Karma: 26
Join Date: Jul 2012
Device: Kindle Paperwhite 4 (2018)
|
Would copying the file from one of my mac computers be sufficient?
EDIT: Fixed it all; can connect via WIFI now without issue. Copied the authorized_keys file over in USB mass storage mode as indicated in the README FIRST. I assumed I knew what I was doing by trying to create a .ssh folder in the root of the kindle; but that was a mistake. There's some magic that I don't pretend to understand with usbnet that makes ssh to the kindle possible. Much easier to fiddle about with koreader this way :P Still not sure if it's safe to leave the wifi on at boot even though that's most convenient. Last edited by arooni; 12-18-2023 at 01:35 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle Scribe no longer connects as USB drive | tomsem | Devices | 44 | 11-24-2023 10:29 AM |
Calibre no longer detects Scribe after forced 5.16.3.1 update. | jerbee | Amazon Kindle | 9 | 10-29-2023 06:44 AM |
Troubleshooting Kindles no WiFi connection so transferring by USB problem | book64 | Amazon Kindle | 10 | 11-14-2020 04:36 AM |
both kindles can no longer connect via wifi | basschick | Amazon Kindle | 8 | 08-02-2011 11:14 AM |
Touch Nook Touch WiFi won't connect after "forgetting" connection config | el34han | Nook Developer's Corner | 0 | 07-16-2011 02:35 PM |