Skip to content

Instantly share code, notes, and snippets.

@M0LTE
Created January 17, 2024 09:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save M0LTE/8754fbdbf9fa079ad2603b624332d2d0 to your computer and use it in GitHub Desktop.
Save M0LTE/8754fbdbf9fa079ad2603b624332d2d0 to your computer and use it in GitHub Desktop.
Raspberry Pi userconf
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.
@harphere
Copy link

harphere commented May 5, 2024

This is great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment