I try to set up node-red with projects and git repository. The local git repo works. Then I created an ssh key copied it into my remote git server (gitea) and tried to connect to the remote server. I got the message to update my known_hosts file. So I added the key of the domain of the gitea instance. Now no error messages are shown, but an eternal wait cursor:
Can anybody help me here?
Not sure how to can help in your situation, but having struggled with this, here are some of my findings:
- ssh keys are located in ./projects/.sshkeys
- linux: file permissions are usually very sensitive, I suggest 'rw-------' for the node-red user
- each user must have their own file
- file name must start with
<username> (most likely case sensitive)
It always helps to have git cmd line tool available, so you can test git outside node red the "normal" way (it's enough to try git pull to verify connection). This has been documented and discussed a million times, so there is no shortage on guides and forum discussions. AI will also quite good on this topic (at least compared to some other topics).