-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: firstrun.sh: line72: unexpected eof while looking for matching `'' #956
Comments
tdewey-rpi note: Edited for formatting, key removal This is firstrun.sh file on my sd card:
|
my ssh public key was corrupted ... |
Thanks for the report, @jujax. Can you confirm if you can reproduce this issue? |
Yes I put |
What a strange password to choose... 😉 😂 |
It's in ssh public key input and not password sorry for the mistake |
Those characters aren't valid in SSH public keys anyway, so perhaps the correct fix here is to add better input-validation in the OS Customisation dialog, rather than trying to fix |
Fixes raspberrypi#956 Previously we would just trust that users would include a correct SSH public key. Unfortunately, this isn't a viable stategy. So, let's introduce a regex to perform some light validation of the ssh-key, to avoid having boot failures.
Fixes raspberrypi#956 Previously we would just trust that users would include a correct SSH public key. Unfortunately, this isn't a viable stategy. So, let's introduce a regex to perform some light validation of the ssh-key, to avoid having boot failures.
What happened?
Hello,
I flashed raspberry os lite (I tried 64 and 32bits) on a raspberry pi 3 with imager v1.8.5 and with personnal settings like ssh key, wifi credentials etc ...
My raspberry stop at boot after lanching firstrun.sh, this is the error I see on my screen:
after that line kernel-command-line.service failed to start and the os is powered off with shutdown.target
I also tried to flash raspbian with my settings and it's working
Version
1.8.5
What host operating system were you using?
macOS
Host OS Version
Sequoia, 15.1
Selected OS
Raspberry Pi OS Lite Bookworm 64 bits
Which Raspberry Pi Device are you using?
Raspberry Pi 3B, 3A+, 3B+, and Compute Module 3, 3+
What kind of storage device are you using?
microSD Card in an internal reader
OS Customisation
Relevant log output
The text was updated successfully, but these errors were encountered: