ShiromMakkad / docker-pihole-sync

A Docker Container To Sync Two Piholes
69 stars 13 forks source link

sender is not able to connect #24

Open msmthng opened 1 month ago

msmthng commented 1 month ago

hi i get this error on the sender:

pihole-sync-sender | Host key verification failed. pihole-sync-sender | rsync: connection unexpectedly closed (0 bytes received so far) [sender] pihole-sync-sender | rsync error: unexplained error (code 255) at io.c(231) [sender=3.2.7] pihole-sync-sender | Unable to initiate dnsmasq.d rsync. Is the receiver online?

how can i update the known hosts file in the sender?

/mnt/ext/piholesync/etc-ssh is empty on sender volume

thx

msmthng commented 1 month ago

i have managed by adding following to the sender service in compose yaml:

    entrypoint: /bin/bash
    tty: true

aftter that i was executing /bin/bash into this container and launched ssh host -p 22222 to update the known hosts.

is there a way to do this without that steps?

thx