Score:1

SSH into Ubuntu 22.04 server installer

br flag

I am trying to install ubuntu 22.04 remotely through SSH. It seems that the SSH server is running out-of-the-box but I do not know the username and password. Is there a default username and password combination or do I still need psychical access to the machine to set it up?

Score:1
cn flag

Unfortunately it seems as though, at least using an unmodified 22.04 install image, that you need physical access to the box. This is because by default, the new Ubuntu installer (subiquity) sets the SSH password for the "installer" user to a randomly-generated string. You can view it from the Help menu in the installer.

If you want to set the password to a known value, you have to fuss with autoinstall or (possibly) modify the /etc/cloud.cfg file on the ISO (which would involve rebuilding the ISO image). See Andrew Lowther's answer to this question: Preconfiguring ssh password for server installer

It seems…less than ideal…for headless installations, but that's the way it currently is.

I sit in a Tesla and translated this thread with Ai:

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.