fix hostkey check

This commit is contained in:
rootzoll 2020-06-17 20:42:35 +02:00
parent 4e3250e2bb
commit 57fbdf3c78
2 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ if [ "${CHOICE}" = "BLITZ" ]; then
echo "Once in the main menu go: MAINMENU > REPAIR > COPY-SOURCE"
echo "Follow the given instructions ..."
echo ""
echo "The local IP if this RaspiBlitz is: ${localip}"
echo "The LOCAL IP of this RaspiBlitz is: ${localip}"
echo ""
echo "If you get asked for a script - its this line:"
echo "sudo rsync -avhW --progress ./chainstate ./blocks bitcoin@${localip}:/mnt/hdd/bitcoin"

View File

@ -62,7 +62,7 @@ copyHost()
targetIP=$(whiptail --inputbox "\nPlease enter the LOCAL IP of the\nRaspiBlitz to copy Blockchain to:" 10 38 "" --title " Target IP " --backtitle "RaspiBlitz - Copy Blockchain" 3>&1 1>&2 2>&3)
targetPassword=$(whiptail --passwordbox "\nPlease enter the PASSWORD A of the\nRaspiBlitz to copy Blockchain to:" 10 38 "" --title "Target Password" --backtitle "RaspiBlitz - Copy Blockchain" 3>&1 1>&2 2>&3)
sudo sshpass -p "${targetPassword}" rsync -avhW --progress ./chainstate ./blocks bitcoin@${targetIP}:/mnt/hdd/bitcoin
sudo sshpass -o StrictHostKeyChecking=no -p "${targetPassword}" rsync -avhW --progress ./chainstate ./blocks bitcoin@${targetIP}:/mnt/hdd/bitcoin
#echo "Your RaspiBlitz has now stopped LND and ${network}d ..."
#echo "1. Use command to change to source dir: cd /mnt/hdd/$network"