![]() |
#1 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 916
Karma: 3000002
Join Date: Jun 2010
Device: K3W, PW4
|
developer.keystore update problems
I attempted to apply the k5 update on my PW4 and am seeing problems.
I first copied it to the mounted root and after I ejected it safely I looked and found that "update your kindle" was still greyed out. Given this I tried with the ;log mrpi approach and nothing seemed to happen other than some screen corruption. Given this I plugged back in and copied the k5 update to the mrpackages directory and then hit ;log mrpi again. That appeared to do something, but gave errors of some sort and then restarted my PW4. The update may have worked, as KUAL opens. Since restart my PW4 no longer mounts when I plug it in. Checking USBNET status still shows USBMS active and SSH over WiFi as I had configured. I likewise can use kterm from KUAL if needed. Unfortunately this is a new laptop and I don't have the public key SSH set up and would need my PW4 root password to get in that way. How do I get this diagnosed and fixed? Dave Dave |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,821
Karma: 104662271
Join Date: Apr 2011
Device: pb360
|
If you saved your old ssh key pair someplace you can copy them to your new laptop.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 916
Karma: 3000002
Join Date: Jun 2010
Device: K3W, PW4
|
|
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,821
Karma: 104662271
Join Date: Apr 2011
Device: pb360
|
Yes, ~/.ssh
On the old laptop, assuming same username on both laptops, you can Code:
cd tar cf keys.tar .ssh scp keys.tar newlaptop: On the new laptop Code:
cd mv .ssh .ssh.save tar xf keys.tar I usually copy my existing keys when I get a new computer. |
![]() |
![]() |
![]() |
#5 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 916
Karma: 3000002
Join Date: Jun 2010
Device: K3W, PW4
|
I had already copied the .ssh directory, but that didn't do the trick.
I pulled my old laptop out of storage and confirmed it still worked, so I did a debug on it. When I tried with the new laptop on debug I noticed immediately that there were differences in the default configurations. The old laptop shows "OpenSSH_8.2p1 Ubuntu-4ubuntu0.11, OpenSSL 1.1.1f 31 Mar 2020" while the new laptop shows "OpenSSH_9.6p1 Ubuntu-3ubuntu13.9, OpenSSL 3.0.13 30 Jan 2024" here. Looking at the logs I noticed that the new default did NOT make use of ~/.ssh/known_hosts, so I had to add a configuration option to fix that. Unfortunately that is not the only configuration option I need to add. Looking at the debug log on the new laptop I see: Code:
debug2: pubkey_prepare: done debug1: Offering public key: /home/dhdurgee/.ssh/id_rsa RSA SHA256:0o/HoAeI1TwYgP/toMixZt5VIoHV3D/foYcRHq/fJ0Q agent debug1: send_pubkey_test: no mutual signature algorithm I have attached the debug logs from both laptops in hope that someone here can tell me what configuration option needs to be added to get this working on the new laptop. Thanks in advance for any assistance here. Dave PS: Grok to the rescue! I added PubkeyAcceptedAlgorithms +ssh-rsa to the config file. Last edited by dhdurgee; 04-22-2025 at 06:14 PM. Reason: answering ssh issue. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,821
Karma: 104662271
Join Date: Apr 2011
Device: pb360
|
I didn't know our configurations and use cases are so different.
I have never used dropbear on a kindle, nor ssh over wifi. I always set up openssh and as soon as it works with my keys I set networking over USB to be default and never enable USB mass storage again. The newest openssh on any of my computers is OpenSSH_8.9p1 So I don't think I am in a position to help any more with this. |
![]() |
![]() |
![]() |
#7 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 916
Karma: 3000002
Join Date: Jun 2010
Device: K3W, PW4
|
Quote:
I guess you must not use Calibre as I do to side load books with the PW4 plugged in. Using Grok to find the solution for my ssh configuration issue was useful, as I had not attempted such a detailed issue solution in that manner before. I'm sure that someone here would have given me an answer eventually, but Grok provided it in seconds. Thanks again for your help. Dave |
|
![]() |
![]() |
![]() |
#8 |
Just trying to survive
![]() ![]() ![]() Posts: 69
Karma: 210
Join Date: Mar 2009
Device: Nexus 7 2013, Galaxy Note 10.1 2014
|
Since your Kindle isn’t mounting now, the issue might be related to the update corrupting the USB settings. You could try force restarting your device by holding the power button for 40 seconds to reset everything. If SSH is still working over WiFi, you could try re-adding the USB gadget driver or reconfiguring it via the terminal. As a last resort, you might want to do a hard reset or even restore the Kindle to factory settings to fix the USB mounting issue.
|
![]() |
![]() |
![]() |
#9 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 916
Karma: 3000002
Join Date: Jun 2010
Device: K3W, PW4
|
Quote:
Dave |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindlet How to create a BIN update file from a developer keystore? | mrfakename | Kindle Developer's Corner | 12 | 04-29-2023 04:09 AM |
Merged Developer Keystore | PoP | Kindle Developer's Corner | 94 | 06-30-2016 11:08 AM |
Kindle developer keystore resetting every reboot? | cyclops0000 | Kindle Developer's Corner | 7 | 12-29-2014 01:33 PM |
Kindle 3 wifi keeps deleting Developer Keystore every time wifi is turned on. | fireether | Kindle Developer's Corner | 4 | 04-18-2013 12:56 PM |
Merged developer.keystore deleted after internet connection | spl0it | Kindle Developer's Corner | 15 | 07-19-2012 10:42 AM |