Score:0

Ubuntu 22.04 Server on Raspberry Pi - how to install regenerate_ssh_host_key.service

im flag

I have created a custom image of "ROS2 Humble Hawksbill on Ubuntu 22.04 Server LTS (64-bit) for the GoPiGo3 robot" but cannot ssh into the first boot. It boots fine, connects to WiFi, but does not allow ssh connections.

I need to install the (raspberrypi-sys-mods) regenerate_ssh_host_key.service to my image before using "PiShrink -p" so that the first boot will allow ssh connections (robot is an headless system)

Any tips?

P.S. Weird - using Raspberry Pi Imager v1.7.3 on Mac OS
(with the image created with pull request #244 version)
and using the Imager Settings
option "+allow ssh, +password auth" checked
I created a microSD card that allowed ssh connection!
So perhaps I do not need the regenerate_ssh_host_key.service.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.