Hey all
I am new to git and github repositiries and I’m running into a problem where the git repository is not cloning on openhabian.
I have a git account but I have not linked it to openhab in anyway. Do I have to connect an SSH key to both github and openhab in order to be able to download a git repo? Is the key automatically created when openhab first installs used for git? If so then would anyone be able to point me to instructions for setting up the openhab SSH key?
Here is what happens when I try to clone a repository:
I’m trying to download AgnetKs tuya script for integrating smart bulbs and here is the output when I try to clone the repo:
"$ git clone git@github.com:TheAgentK/tuya-mqtt.git
Cloning into ‘tuya-mqtt’…
The authenticity of host ‘github.com (192.30.253.112)’ can’t be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? y
Please type ‘yes’ or ‘no’: yes
Warning: Permanently added ‘github.com,192.30.253.112’ (RSA) to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists."
What am not seeing here?
[EDIT]
I ended up just using Tuya Convert. Still haven’t learned how to git. Someday
Thanks for reading!
Ev