-
-
Notifications
You must be signed in to change notification settings - Fork 137
Failed to validate connection #34
Comments
Did you generate an SSH key in the config script, or did you have one created already? When you manually connect does it ask for a passphrase? |
@vmstan I've created the key in the config script. I see the key in the secondary pi's /home/admin/.ssh When I manually connect through SSH to the primary pi hole it does ask for the keyphrase and I can connect. |
Can you screenshot the command you're using for the manual connection and what the authentication prompt looks like? Are you you specifying to use the keyfile? Just saw your update about the passphrase. You will need to regenerate the keyfile without a passphrase. Delete the ~/.ssh/id_rsa and ~/.ssh/id_rsa.pub files and then rerun the |
Great success @vmstan. Thanks :-) |
Great! 1.8 which was just published already has rewrites to the config portion with the goal of bypassing the prompts that were confusing about adding a passphrase to begin with. That portion should be automatic now, you'll just have to authenticate the one time to the primary when you copy your keyfile over. Hopefully to prevent this issue in the future.🤞 |
Just pulled the update in. Great clarification of the steps. Thanks @vmstan, this script makes my life even simpler ;-) |
Although I'm running into an issue reconfiguring 1.8: |
Don't run the script with |
1.8.1 now will detect this. |
Describe the Issue
When running
./gravity-sync.sh config
on the secondary pi hole installation I get past the SSH user/pass for the primary pi hole when I get the output:When running ssh 'username@ip' i can connect to the primary pi hole through SSH.
Configuration:
The text was updated successfully, but these errors were encountered: