Page 1 of 1

SSH on bookworm not working

Posted: Tuesday 14 October 2025 21:18
by Backbone
I dont blame anyone but myself, but.,,,
Getting openssl3 on a bricked seems a study on its own for simple Domoticz users like me.
New SD card with Raspi imager filled with a bookworm version which I asume has openssl3 by standard.
Put SSH file on card too.
Put card in PI and power up.
Check if IP is found.
Putty 0.83 started.
After username I get stuck on..No supported authentication methods avalable (server send public key)
With 2025.2 update bricked SD card and same putty I can log into the pi.

Any simple direction I need to go?

Thanks, Paco

Re: Domoticz version 2025.2 released (Fails)

Posted: Tuesday 14 October 2025 21:32
by Zuikkis
Backbone wrote: Tuesday 14 October 2025 21:18 I dont blame anyone but myself, but.,,,
Getting openssl3 on a bricked seems a study on its own for simple Domoticz users like me.
New SD card with Raspi imager filled with a bookworm version which I asume has openssl3 by standard.
Put SSH file on card too.
Put card in PI and power up.
Check if IP is found.
Putty 0.83 started.
After username I get stuck on..No supported authentication methods avalable (server send public key)
With 2025.2 update bricked SD card and same putty I can log into the pi.

Any simple direction I need to go?

Thanks, Paco
Did you set username and password in raspi imager? Earlier raspbians used username "pi" and default password "raspberry", but that was an obvious security weakness so they changed it. Now you must set the username and password manually, under the gear button on raspi-imager..

If you don't set it manually, it will prompt for it ON CONSOLE during first boot.. So it doesn't work if you don't have keyboard and monitor.

Re: Domoticz version 2025.2 released (Fails)

Posted: Tuesday 14 October 2025 22:13
by jannl
Add a monitor and keyboard to the pi. Check the ssh config file. Plaintext logjn is disabled by default. With monitor and keyboard you can login.

Ow, and use google. I don't know the exact steps by head.

Re: SSH on bookworm not working

Posted: Tuesday 14 October 2025 22:51
by waltervl
SSH issue unrelated to Domoticz update moved to new topic

Re: Domoticz version 2025.2 released (Fails)

Posted: Wednesday 15 October 2025 8:54
by Backbone
[/quote]

Did you set username and password in raspi imager? Earlier raspbians used username "pi" and default password "raspberry", but that was an obvious security weakness so they changed it. Now you must set the username and password manually, under the gear button on raspi-imager..

If you don't set it manually, it will prompt for it ON CONSOLE during first boot.. So it doesn't work if you don't have keyboard and monitor.
[/quote]

In Raspi Imager I set manually username and password and switch off Wifi.
SSH file was added to the SD card to get SSH connection, which work otherwise I cant connect.
Nothing else what I have done different from previous installs.
I created a new image 2 or 3 years back and worked from that point on. So in meantime much can be changed I am unaware off as low key/experience user.
My linux knowledge is low.
But my understanding is now, I cant use an image any more without keyboard and monitor control and both are manditory for install?
Should I create a new entry for this?

Paco

Re: SSH on bookworm not working

Posted: Wednesday 15 October 2025 10:56
by jannl
The answer is in the posts above.

I guess you never updated your OS the last couple of years, otherwise you most likely would have the some error on your bullseye installation.

I just installed a new Trixie via an SSD and on first boot (monitor and keyboard attached), I was asked for a user and passwd. Via raspi-config I enabled SSH (among other things).

Re: SSH on bookworm not working

Posted: Wednesday 15 October 2025 20:17
by Backbone
jannl wrote: Wednesday 15 October 2025 10:56 The answer is in the posts above.

I guess you never updated your OS the last couple of years, otherwise you most likely would have the some error on your bullseye installation.

I just installed a new Trixie via an SSD and on first boot (monitor and keyboard attached), I was asked for a user and passwd. Via raspi-config I enabled SSH (among other things).

So I installednew Bookworm full 32 bits on PI-2 with Raspi Imager with two letter username and password set there.
Hooked up monitor, keyboard and mouse.
Start the PI.
On desktop I see network is connected.
I click the terminal icon.
I type sudo raspi-config.
I find SSH and switch it ON.
Enter and Tab key is working fine!!!!!!!!!
Exit raspi-config.
Type script to install Domoticz.
Script runs
At the end I get the screen where you have to accept with a red OK button to proceed.
You have to use the ENTER KEY to go to the next screen.
But the ENTER KEY does not respond and the install does not proceed.
Tab key is not working to activate the button either.

Paco

Re: SSH on bookworm not working

Posted: Wednesday 15 October 2025 20:41
by jannl
Very hard to support with this info.

Did you use ssh after configuring it? Why install bookworm with desktop? Especciallynon a pi 2 this consumes a lot of resources. Better use the lite version. Sometimes the space bar or arrow keys can/must be used.

Re: SSH on bookworm not working

Posted: Thursday 16 October 2025 11:30
by HansieNL
If you are using imager 1.96 there is a bug: [BUG]:Enabling SSH does not enable SSH #1242
See: https://github.com/raspberrypi/rpi-imager/issues/1242

Re: SSH on bookworm not working

Posted: Thursday 16 October 2025 16:40
by Backbone
HansieNL wrote: Thursday 16 October 2025 11:30 If you are using imager 1.96 there is a bug: [BUG]:Enabling SSH does not enable SSH #1242
See: https://github.com/raspberrypi/rpi-imager/issues/1242
Thanks Hansie,

In the mean time I have conquered all problems.
I can SSH in with Putty without any error now.
Now I have all running on Bookworm and 2025.2
Found out my automatic saving of DB stopped at 31-12-2023 :evil:
As I never checked in the meantime the auto back up I was expecting I have back up from last week.

Thank you all for the time taken. Time to rebuild.

Paco