Hi,
I just did something you should never do on my XU4 system
I updated a running system :oops: from 158 to 159
Now I cant login via WinSCP nor with Putty.
It asks for user, so "root"
But then it doesn't take the standard "dietpi" passoword.
Didn't change anything else.
Any tipps?
greetz
Schnitzelbrain
Wrong SSH password after update from 158 to 159
-
- Posts: 13
- Joined: Sun Nov 05, 2017 4:23 pm
-
- Posts: 13
- Joined: Sun Nov 05, 2017 4:23 pm
Re: Wrong SSH password after update from 158 to 159
Just tried user "dietpi" instead of "root" with password "dietpi" and i am in.
On the changelog page in the picture the user root is still seen.
So what gives?
Schnitzelbrain
Merry xmas for everyone
On the changelog page in the picture the user root is still seen.
So what gives?
Schnitzelbrain
Merry xmas for everyone

-
- Posts: 13
- Joined: Sun Nov 05, 2017 4:23 pm
Re: Wrong SSH password after update from 158 to 159
Ok, solved myself .
I used dietpi-config with sudo under user dietpi login to change the root password to dietpi again.
Worked out.
Jeez that was a xmas heart attack, almost.
Schnitzelbrain
EDIT:Typo
I used dietpi-config with sudo under user dietpi login to change the root password to dietpi again.
Worked out.
Jeez that was a xmas heart attack, almost.
Schnitzelbrain
EDIT:Typo
Last edited by schnitzelbrain on Tue Dec 26, 2017 12:09 pm, edited 1 time in total.
Re: Wrong SSH password after update from 158 to 159
Hmm ... how have you trigger this update?schnitzelbrain wrote:I just did something you should never do on my XU4 system
I updated a running system from 158 to 159
Code: Select all
dietpi@DietPi:~$ sudo dietpi-update
-
- Posts: 13
- Joined: Sun Nov 05, 2017 4:23 pm
Re: Wrong SSH password after update from 158 to 159
Hi k-plan,k-plan wrote:Hmm ... how have you trigger this update?schnitzelbrain wrote:I just did something you should never do on my XU4 system
I updated a running system from 158 to 159
:?:Code: Select all
dietpi@DietPi:~$ sudo dietpi-update
yes as you mentioned
Code: Select all
dietpi@DietPi:~$ sudo dietpi-update
My fix was not persistant as after reboot it was gone again. I am not sure as it could also be a problem with my ssh connaction PC wise.
What I did to finally solve this was:
Code: Select all
Restored my Backup (taken just before update)
The fault was still there but I was on 158 again.
Reversed the SSH Server back to Dropbear via Dietpi menues
Then the root login was already working, also after power reset and reboot
Re-installed SSH Server and from that point on it was ok.
It also asked for it when logging in as dietpi user, so I asume thats why this one worked.
Next time I try to look for an forced key update from putty or WinSCP, but for now I keep it as is

Greeztz