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:

  1. passwd -- To set a non blank password for the currently logged in user ('root' for liveCD). Enter the password twice.

  2. systemctl start sshd.service -- To start the ssh daemon.

Now you can login from your client machine using ssh root@ip-address.

PS Don't know the IP address? The live-CD includes commands ifconfig and ip address.

  • 1
    Make sure you enter the password twice after running passwd – Nils Werner Oct 10 '19 at 7:45

The simplest way is to

  • install Arch onto an USB stick/harddisk (you can do this from the live cd)
  • in the new installation
    • set a root password (passwd)
    • allow ssh root login (vi /etc/ssh/sshd_config and append PermitRootLogin yes)
    • enable sshd (systemctl enable sshd)
    • also don't forget to enable systemd-networkd anything else you may need (like to preconfigure wifi)
  • boot the new machine from the usb device
  • 1
    The question is asking only for a solution for the live-CD (ISO) boot. installing onto USB stick/harddisk is out of scope for this question. – Pro Backup Mar 12 '18 at 8:47
  • @ProBackup this answer is for people who are trying to install arch on a system without a display/keyboard – laktak Mar 12 '18 at 8:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.