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 email@example.com:TheAgentK/tuya-mqtt.git
Cloning into ‘tuya-mqtt’…
The authenticity of host ‘github.com (126.96.36.199)’ 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,188.8.131.52’ (RSA) to the list of known hosts.
firstname.lastname@example.org: 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?
I ended up just using Tuya Convert. Still haven’t learned how to git. Someday
Thanks for reading!