If you are using the "live-server" installer (subiquity) then the default settings will create a user named installer with a random password. The installer user can be used to access the installer TUI by SSH.
Depending on the version of subiquity the randomly generated password is printed to the screen or is available under the Help menu.
The installer user is created by cloud-init when the installer boots. By changing the cloud-init configuration it is possible to set the password or to add SSH Key(s) for the installer user to something known. There are a couple of ways to configure cloud-init.
Use Autoinstall
I have been able to set the installer password by using an autoinstall file. The file has content like the following to set a password and set an SSH key.
#cloud-config
autoinstall:
...
# set password to r00tme
chpasswd:
expire: false
list:
- installer:$6$.c38i4RIqZeF4RtR$hRu2RFep/.6DziHLnRqGOEImb15JT2i.K/F9ojBkK/79zqY30Ll2/xx6QClQfdelLe.ZjpeVYfE8xBBcyLspa/
ssh_authorized_keys:
- ssh-rsa FILLINYOUROWNKEYHERE
Modify the ISO
I have not done this, but you could try modifying the ISO. The installer user setup is configured in the /etc/cloud.cfg file. You could modify this file to define a password or SSH key.
See Also