update rpi-1 host key

This commit is contained in:
Sebastien Bourdeauducq 2021-03-29 18:04:15 +08:00
parent 2c378060e9
commit 548eb53ccb

View File

@ -75,7 +75,7 @@ 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-1 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMc7waNkP2HjL5Eo94evoxJhC8CbYj4i2n1THe5TPIR3" > $HOME/.ssh/known_hosts
echo "rpi-1 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFaIIQlc+fknFZSSLSfuMcfi6IhtMDNS15DJQSAb/O/h" > $HOME/.ssh/known_hosts
chmod 600 $HOME/.ssh/id_rsa
LOCKCTL=$(mktemp -d)
mkfifo $LOCKCTL/lockctl