Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SHH Github question #117

Closed
FlokkieB opened this issue Oct 27, 2024 · 2 comments
Closed

SHH Github question #117

FlokkieB opened this issue Oct 27, 2024 · 2 comments

Comments

@FlokkieB
Copy link

Hi, I followed your blog (thx for that) on how to use Github as backup for the HA configuration. Al is working, till I want t setup the automation. Its stops then I can commit the configuration with the ./ha_gitpush.sh instruction so that file is OK too. But when ik want to setup the automation and test that I get the following message:

stderr: "Host key verification failed.\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists."
returncode: 128

I have tried to regenerate the key, no result, to generate it with Putty, no result, I made a shell command to test easier:


shell_command:
backup: bash /config/ha_gitpush.sh

no result

put the automation as yours:
#Put this in automations.yaml

  • id: l1k3
    alias: push HA configuration to GitHub repo
    trigger:

    Everyday at 23:23:23 time

    • at: '23:23:23'
      platform: time
      action:
    • data:
      addon: a0d7b954_ssh
      input: /config/ha_gitpush.sh
      service: hassio.addon_stdin

Again no result

Pls could you advices what to do?

BTW is it possible to do this with a Git Workflow?

Thanks

Copy link

welcome bot commented Oct 27, 2024

Thanks for opening your first issue here! You can use issues to ask for clarification, make a suggestion or just leave a comment.

@FlokkieB
Copy link
Author

excuse for the design of the text

@FlokkieB FlokkieB closed this as completed Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant