Configurator Git Push Fail

Hi all:

I’m having problems trying to push config directory to github using the push option of the configurator add-on. Everything works perfect if I make the push from the Hassio ssh console. This is log:

WARNING:2019-12-20 00:01:24,542:hass_configurator.configurator:{‘error’: True, ‘message’: “Cmd(‘git’) failed due to: exit code(128)\n cmdline: git push --porcelain origin\n stderr: ‘fatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.’”, ‘path’: ‘/config’}

Any hints to solve this?
Thanks in advance

EDIT: Already resolved. I’ve copied the content of root/.ssh directory to a new directory /config/ssh and change the configuration of configurator to point id_rsa key file on /config/ssh. Now it works.

Hello,
I have the same problem in the configurator.
With the SSH server Add-on it will work, but then I need to type in my username and password from Git.
When I do this in the configurator I got the same error.
I don’t have the folder root/.ssh should I install something ?
Thanks for your help
Bart Engelen

Hi Bart, assuming you have enough permissions you can create yourself this directory.

mkdir ~/.ssh
chmod 700 ~/.ssh

Regards