summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 31ec98c..346befd 100644
--- a/README.md
+++ b/README.md
@@ -90,10 +90,10 @@ locale-gen
echo 'LANG=en_US.UTF-8' > /etc/locale.conf
echo 'craft-archlinux' > /etc/hostname
mkinitcpio -P
-echo 'root' | passwd -s
systemctl enable NetworkManager
systemctl enable chronyd
sed -i 's|#PermitRootLogin prohibit-password|PermitRootLogin yes|g' /etc/ssh/sshd_config
+echo 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFB/sCmZZ9lffCfAjbNCHRsW95/s75p5qMp+9Ch4/NPn' > /root/.ssh/authorized_keys
systemctl enable sshd
# bootloader installation
@@ -142,5 +142,6 @@ ssh \
-p 9999 \
-o UserKnownHostsFile=/dev/null \
-o StrictHostKeyChecking=no \
+ -i keys/craft_ed25519 \
root@localhost
```