zynq: fix rpi4 host key problems (4th attempt)

pull/33/head
Sebastien Bourdeauducq 2020-07-04 23:41:58 +08:00
parent f6e1164476
commit 0b87a11ae2
1 changed files with 1 additions and 5 deletions

View File

@ -38,13 +38,9 @@ in
mkdir $HOME/.ssh mkdir $HOME/.ssh
cp /opt/hydra_id_rsa $HOME/.ssh/id_rsa cp /opt/hydra_id_rsa $HOME/.ssh/id_rsa
cp /opt/hydra_id_rsa.pub $HOME/.ssh/id_rsa.pub cp /opt/hydra_id_rsa.pub $HOME/.ssh/id_rsa.pub
cat > $HOME/.ssh/config << EOF
Host *
StrictHostKeyChecking no
EOF
chmod 600 $HOME/.ssh/id_rsa chmod 600 $HOME/.ssh/id_rsa
bash ${<artiq-zynq>}/remote_run.sh -d ${artiq-zynq.zc706-simple-jtag} bash ${<artiq-zynq>}/remote_run.sh -h rpi-4 -o "-F /dev/null -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=ERROR" -d ${artiq-zynq.zc706-simple-jtag}
touch $out touch $out
''; '';