2

I just tried to install Ubuntu Server 20.04 in a virtual machine for some tests and in order to see whether I can get preseeding to work again as in previous versions.

I noticed that even the choice of keyboard/locale was now happening after I could see some lines fly by on the console that clearly suggested that an SSH server was running.

So I used arp -a to get the appropriate IP address and tried to connect as root. But then a password of ubuntu was refused.

What credentials can be used here - if any! - prior to making any choices as console user?

0xC0000022L
  • 5,870

1 Answers1

4

I found it it, but unfortunately it means that the credentials are hardly usable (unless one manages to somehow "inject" authorized public keys).

Anyway, here is what I did. I went back and tried to take screenshots of those situations that were humanly impossible to read otherwise. First one got several standard boot messages (basically what you'd see in dmesg) and then it blanked the screen and this could be found:

Showing SSH host keys

I included those two lines above the messages about the SSH host keys for a reason. They show the missing credentials that I had been looking for.

The user is installer and the password is what's given behind the colon (:).

Either way, once I connected with username installer and the randomly generated password, I got to see basically the same menu as could be seen on the console:

Installer menu via SSH

Since the whole thing works via cloud-init, according to the boot messages, I suppose I would be able to provide the authorized public keys via that somehow ...

So I've got something more to research, but hopefully these clues will help someone else already.

0xC0000022L
  • 5,870