Raspberry pi os Bullseye 64bit ssh password not 'raspberry' anymore?

Viewed 5845

I've been having problems with the raspberry pi imager so just downloaded the latest 64bit os from their site. Then used Belena Etcher to etch the image. Made the ssh file and the wpa_supplicant file.

It's showing on the network but for some reason I can't connect via ssh via terminal with ssh pi@ip.address, it asks for a password but when I enter 'raspberry' it won't work. Has something changed?

2 Answers

This answer is an extension of the answer provided by @Gotenks.

Create a file named userconf in the boot folder to create a user. The contents of the file are as follows

username:password-hash

The password hash is generated using the following command

echo "password" | openssl passwd -6 -stdin

For example:

pi:$6$38HiUnLhwlE1DRdL$MHHb6/OsyAlZNqmW7igj333g/CRwG/g5nls7ylTEqZZg9rOIM/cUvE962.5x6M0ONMz/r6OlBy/G6f4v8zrH51
Related