0

When I boot the raspberry and try to login via ssh with username:pi and password:raspberry I only get the "access denied" message as if the password were not correct. I found out that the password is always list after reboot so I have to set the password for pi manually everytime to be able to use ssh login.

I have used chage to check if the password expiration is disabled and it is. Does anyone maybe know why the raspberry always deletes the password for the user pi or at which point the raspberry should set the password automatically?

asked Mar 6, 2014 at 11:00
3
  • The only time I saw this issue was when the Pi was underpowered, the PSU was fine but the low quality USB cable just lost too much power. The SD filesystem corruption surfaced as not being able to ssh in. Commented Mar 6, 2014 at 13:11
  • So a higher quality usb cable might help? Just found out the root password gets resetted too after each restart. Commented Mar 6, 2014 at 13:27
  • worth a try also use a multimeter to check the voltage as per elinux.org/R-Pi_Troubleshooting#Troubleshooting_power_problems Commented Mar 6, 2014 at 15:30

1 Answer 1

1

Type in terminal

$ sudo bash 
$ cd /boot
$ mv boot_enable_ssh.rc boot.rc
$ sudo shutdown -h now 

on restart, this worked for my Pi, should work for you too :)

lenik
11.5k2 gold badges32 silver badges37 bronze badges
answered Mar 6, 2014 at 18:02

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.