Custom ISO
Create a custom ISO with SSH pubkey access
Install archiso, copy the profile for the default monthly release, add ssh key to authorized_keys
sudo pacman -S archiso
cp -r /usr/share/archiso/configs/releng/ ./archlive
mkdir ./archlive/airootfs/root/.ssh
touch ./archlive/airootfs/root/.ssh/authorized_keys
cat ~/.ssh/key1.pub >> ./archlive/airootfs/root/.ssh/authorized_keys
Set permissions and ownership
archlive/profiledef.sh
file_permissions=(
...
["/root/.ssh"]="0:0:0700"
["/root/.ssh/authorized_keys"]="0:0:0600"
...
)
Build ISO
sudo mkarchiso -v ./archlive/