Quote:
Originally Posted by gawls
Hi there, I had my PW2 jailbroken on 5.7.4 for the longest time, but noticed that my Wifi would drop out from time to time. I updated the device to 5.8.7.0.1 to see if that would help my wifi troubles and it has. But something obviously happened during the update as I have lost SSH access. I can connect to the device through SSH, but the password no longer works. I believe I changed the SSH password when I was on 5.7.4 and now it doesn't work on the newer firmware.
Two questions...
1. Should I downgrade my device to regain SSH access or is there another way to do it?
2. If I do downgrade, the firmware links in post 1 lead me to "The file you are trying to access is no longer available." Where would I find the links or should I just do a Google search to find them?
Thanks for the help!
EDIT: I have tried the kindle SSH password page, but it didn't work.
|
The password is(was) stored in /etc/passwd
When you let it update, it loaded another, complete, system image file.
Here: "complete" includes /etc/password
You need to do whatever it was you did to install a password the last time.
Note1: telnet (which is started also when you start sshd) does not require a password.
Note2: ssh over the USB cable does not require a password.
Note3: Why in the world where you not using public key authentication?
Our dropbear (the sshd server) is patched to look for the public key in USB storage (just so it never gets written over when upgrading).
Note4: did you read the fine print at the bottom of that page you tried?
Where it said "tested on my K4?
The K4 was the last model that did not have login by password disabled. All of the K5 devices, since Amazon went to the full image updates, has had password login (for 'main') disabled.
When you generate a password for a K5 from the serial number, you are generating the password used in the 'diags' system, not the 'main' system.
Note5: The new "bridge" code will be able to preserve /etc/passwd and /etc/shadow across full image updates.
(when, if ever, I get it finished.)