Raspberry Pi SSH – Access Denied

Assuming you’ve enabled SSH already and got as far as being asked for a password to login for the pi user, but it’s being rejected and saying Access Denied.

For some reason my pi user default password was not ‘raspberry’ and I couldn’t tell what it was.

When changing the password in the terminal, if you’re running:

  • sudo passwd

this actually changes the root user password!

Running the following with sudo will allow you to change the ‘pi’ user password without knowing the original password:

  • sudo passwd pi


If you try ssh using the user pi, the password should now be accepted

Hope this helps you out!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s