diff --git a/main.nix b/main.nix index 7917282..f611afe 100644 --- a/main.nix +++ b/main.nix @@ -71,9 +71,9 @@ 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,192.168.1.188 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMc7waNkP2HjL5Eo94evoxJhC8CbYj4i2n1THe5TPIR3" > $HOME/.ssh/known_hosts + echo "rpi-1,192.168.1.188 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMc7waNkP2HjL5Eo94evoxJhC8CbYj4i2n1THe5TPIR3" > $HOME/.ssh/known_hosts chmod 600 $HOME/.ssh/id_rsa - artiq_flash -t kc705 -H rpi + artiq_flash -t kc705 -H rpi-1 sleep 15 # ping: socket: Operation not permitted #ping kc705-1 -c10 -w30