From f61f2a273689a272dac38235d96e79d51ed5e1b4 Mon Sep 17 00:00:00 2001 From: Jeff Moe Date: Sat, 30 Jan 2021 18:22:41 -0700 Subject: [PATCH] ed25519 ssh keys works for debian installer netconsole --- eqx-create-cluster | 4 ++-- preseed-base.cfg | 2 +- preseed-minimal.cfg | 2 +- preseed.cfg | 1 - 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/eqx-create-cluster b/eqx-create-cluster index 4252d8a..c51d9fb 100755 --- a/eqx-create-cluster +++ b/eqx-create-cluster @@ -36,13 +36,13 @@ echo "To connect a bare metal console, run:" # XXX test ed25519 keys # XXX Set data center EQXDEVICEID=`eqx-get-project-devices-id $EQXPROJECT | head -1` -echo "ssh -p 22 -i ~/.ssh/id_rsa-eqx $EQXDEVICEID@sos.da11.platformequinix.com" +echo "ssh -p 22 -i ~/.ssh/id_ed25519-eqx $EQXDEVICEID@sos.da11.platformequinix.com" eqx-get-project-ssh-config "$EQXPROJECT" eqx-get-project-clusterssh-config "$EQXPROJECT" echo echo "To connect to installer, after about 4 minutes, run:" -echo "ssh -p 22 -i ~/.ssh/id_rsa-eqx debian@[IP above]" +echo "ssh -p 22 -i ~/.ssh/id_ed25519-eqx debian@[IP above]" echo diff --git a/preseed-base.cfg b/preseed-base.cfg index 091edb2..c168543 100644 --- a/preseed-base.cfg +++ b/preseed-base.cfg @@ -95,7 +95,7 @@ d-i anna/choose_modules string network-console # XXX Set up key here, probably has to be RSA, ed25519 untested. # ssh-keyget -t rsa # Copy that to server -d-i network-console/authorized_keys_url string http://174.128.244.245/id_rsa.pub +d-i network-console/authorized_keys_url string https://util.forksand.com/id_ed25519-eqx.pub #d-i network-console/password password r00tme #d-i network-console/password-again password r00tme diff --git a/preseed-minimal.cfg b/preseed-minimal.cfg index e49ea21..4a8a0e5 100644 --- a/preseed-minimal.cfg +++ b/preseed-minimal.cfg @@ -7,7 +7,7 @@ d-i netcfg/get_hostname string unassigned-hostname d-i netcfg/get_domain string unassigned-domain d-i netcfg/wireless_wep string d-i anna/choose_modules string network-console -d-i network-console/authorized_keys_url string https://util.forksand.com/id_rsa.pub +d-i network-console/authorized_keys_url string https://util.forksand.com/id_ed25519-eqx.pub d-i mirror/country string manual d-i mirror/http/hostname string http.us.debian.org d-i mirror/http/directory string /debian diff --git a/preseed.cfg b/preseed.cfg index 6b9feb2..eb7e369 100644 --- a/preseed.cfg +++ b/preseed.cfg @@ -7,7 +7,6 @@ d-i netcfg/get_hostname string unassigned-hostname d-i netcfg/get_domain string unassigned-domain d-i netcfg/wireless_wep string d-i anna/choose_modules string network-console -#d-i network-console/authorized_keys_url string https://util.forksand.com/id_rsa.pub d-i network-console/authorized_keys_url string https://util.forksand.com/id_ed25519-eqx.pub d-i mirror/country string manual d-i mirror/http/hostname string http.us.debian.org