Created
January 17, 2024 09:36
-
-
Save M0LTE/8754fbdbf9fa079ad2603b624332d2d0 to your computer and use it in GitHub Desktop.
Raspberry Pi userconf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create a file named user userconf (or userconf.txt) containing the following: | |
pi:$6$c70VpvPsVNCG0YR5$l5vWWLsLko9Kj65gcQ8qvMkuOoRkEagI90qi3F/Y7rm8eNYZHW8CY6BOIKwMH7a3YYzZYL90zf304cAHLFaZE0 | |
Place userconf (or userconf.txt) plus an empty file named ssh (or ssh.txt) in the BOOT (FAT32) partition of the SD card. | |
Insert the SD card in the Raspberry Pi and it should boot with access to user 'pi' (password : raspberry) via SSH. |
In case You wonder how to generate this password hash yourself
openssl passwd -6
Just using the widely known default is not advisable.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is great, thanks!