Hello,
I have
- installed NodeRed and Gitea on my local Docker Swarn cluster
- setup a git key on NodeRed
- setup the associated public key on Gitea
- setup a remote repository on NodeRed project with this URL: "ssh://git@gitHost:gitPort/gitUser/gitRepository.git"
When I test on the NodeRed container with ssh command, all works fine:
ssh -i ./sshKey -T -p gitPort git@gitHost
But, on NodeRed UI, the connection with remote repository is not possible.
On browser network tab, an error occurs on "/projects/xxxx/branches/remote" request with the following detail:
"git@gitHost: Permission denied (publickey).\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\n"
I think the porblem occurs because the git server listen on a custom port.
Could you confirm this?
Many thanks for your help.