mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-03-27 02:01:53 +01:00
fix hostkey check
This commit is contained in:
parent
4e3250e2bb
commit
57fbdf3c78
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user