From 2c2616935399c8c5d76a860a5debf192d703536f Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 4 Jul 2020 17:39:10 +0800 Subject: [PATCH] zynq: fix rpi4 host key problems (second attempt) --- zynq.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zynq.nix b/zynq.nix index 7223d15..32b79ee 100644 --- a/zynq.nix +++ b/zynq.nix @@ -38,10 +38,10 @@ in mkdir $HOME/.ssh cp /opt/hydra_id_rsa $HOME/.ssh/id_rsa cp /opt/hydra_id_rsa.pub $HOME/.ssh/id_rsa.pub - echo "rpi-4 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJu+HhQmQAclub9K/B3xUQ28lBg+MEdqSeBuQNZgPGKB" > $HOME/.ssh/known_hosts + echo "rpi-4.m-labs.hk ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJu+HhQmQAclub9K/B3xUQ28lBg+MEdqSeBuQNZgPGKB" > $HOME/.ssh/known_hosts chmod 600 $HOME/.ssh/id_rsa - bash ${}/remote_run.sh -h rpi-4 -d ${artiq-zynq.zc706-simple-jtag} + bash ${}/remote_run.sh -d ${artiq-zynq.zc706-simple-jtag} touch $out '';