reset ssh pasword for DietPi

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
selih34
Posts: 18
Joined: Sun Dec 20, 2020 4:43 pm

reset ssh pasword for DietPi

Post by selih34 »

Afeter installing log2ram I cannot login over putty with root and my password
I've tried:
1. switching, physically, keyboards and languages on winOS
2. booting in live linux, and https://pve.proxmox.com/wiki/Root_Password_Reset method 2 with my SD card, with shadow file, even with shadow-
3. even deleting both shadow files.

and it keeps asking me for password when trying to login over putty as root or dietpi...

Is it possible to solve this?
User avatar
Joulinar
Posts: 4823
Joined: Sat Nov 16, 2019 12:49 am

Re: reset ssh pasword for DietPi

Post by Joulinar »

Hi,

there is no special SSH password. It's the normal OS user pw. Do you still have access to your device? I mean attach a keyboard and login?
BTW: why did you installed log2ram ?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
selih34
Posts: 18
Joined: Sun Dec 20, 2020 4:43 pm

Re: reset ssh pasword for DietPi

Post by selih34 »

I have access. I tried with keyboard, and monitor attached to PI to login, but I failed. I will start from scratch.
Can you make some tutorial how to reset the password, with shadow file, and PIN it on forum, please?
User avatar
Joulinar
Posts: 4823
Joined: Sat Nov 16, 2019 12:49 am

Re: reset ssh pasword for DietPi

Post by Joulinar »

Hi,

merry Xmas first of all.

Why do you like to reset your password if you start from scratch?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
selih34
Posts: 18
Joined: Sun Dec 20, 2020 4:43 pm

Re: reset ssh pasword for DietPi

Post by selih34 »

Not for me....for anyone other that came to similar situation, where you are locked out from your DietPI and you have set it up completely. If you know the procedure, why dont share?
User avatar
Joulinar
Posts: 4823
Joined: Sat Nov 16, 2019 12:49 am

Re: reset ssh pasword for DietPi

Post by Joulinar »

well I don't know a method an I never tried it. However I searched the web and found following. https://www.maketecheasier.com/reset-ro ... ord-linux/

Method 2 seems to be a good approach
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply