SSH on bookworm not working

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!

Moderators: leecollings, remb0

Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
Post Reply
Backbone
Posts: 51
Joined: Thursday 22 October 2015 21:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: The Netherlands
Contact:

SSH on bookworm not working

Post 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
Zuikkis
Posts: 47
Joined: Monday 20 February 2017 17:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz version 2025.2 released (Fails)

Post 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.
jannl
Posts: 825
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.5.x
Location: Geleen
Contact:

Re: Domoticz version 2025.2 released (Fails)

Post 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.
Last edited by jannl on Wednesday 15 October 2025 8:35, edited 1 time in total.
User avatar
waltervl
Posts: 6689
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: SSH on bookworm not working

Post by waltervl »

SSH issue unrelated to Domoticz update moved to new topic
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Backbone
Posts: 51
Joined: Thursday 22 October 2015 21:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: The Netherlands
Contact:

Re: Domoticz version 2025.2 released (Fails)

Post 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
jannl
Posts: 825
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.5.x
Location: Geleen
Contact:

Re: SSH on bookworm not working

Post 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).
Backbone
Posts: 51
Joined: Thursday 22 October 2015 21:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: The Netherlands
Contact:

Re: SSH on bookworm not working

Post 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
jannl
Posts: 825
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.5.x
Location: Geleen
Contact:

Re: SSH on bookworm not working

Post 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.
User avatar
HansieNL
Posts: 969
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: SSH on bookworm not working

Post 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
Blah blah blah
Backbone
Posts: 51
Joined: Thursday 22 October 2015 21:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: The Netherlands
Contact:

Re: SSH on bookworm not working

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest