How to setup/configure the Arch Linux bootcd (live-CD, ISO) so I can login to it using an SSH client?
And which password is by default set for the (automatic login) root account?
The default root password for the ISO distribution is blank, and by default you are not allowed to login with SSH using a blank password.
Therefore, two commands are necessary:
passwd -- To set a non blank password for the currently logged in user ('root' for liveCD). Enter the password twice.
Before September 2021: systemctl start sshd.service -- To start the ssh daemon.
September 2021 and later: sshd is started by default.
Now you can login from your client machine using:
ssh root@ip-address orssh -o PreferredAuthentications=keyboard-interactive root@ip-address in case you have a keypairPS. Don't know the IP address? The live-CD includes commands ifconfig and ip address.
The simplest way is to
passwd)vi /etc/ssh/sshd_config and append PermitRootLogin yes)systemctl enable sshd)In my case it also necessary to ssh to the machine with -o PreferredAuthentications=keyboard-interactive to prevent my desktop from trying my RSA keypair first - which caused the connection to end due the ISO's configured maximum 1 attempts at authentication per connection.
Without this, or unsetting my SSH auth sock environment variable I was effectively unable to log into the Arch ISO environment.