Browse Source

ed25519 ssh keys works for debian installer netconsole

master
Jeff Moe 10 months ago
parent
commit
f61f2a2736
  1. 4
      eqx-create-cluster
  2. 2
      preseed-base.cfg
  3. 2
      preseed-minimal.cfg
  4. 1
      preseed.cfg

4
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

2
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

2
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

1
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

Loading…
Cancel
Save