git-resource icon indicating copy to clipboard operation
git-resource copied to clipboard

Cannot fetch repository when the SSH port is something other than 22

Open natto1784 opened this issue 3 years ago • 5 comments

I have (had) a gitea instance with SSH open at port 22001 which makes the SSH clone URI ssh://[email protected]:22001/user/repo.git instead of the normal [email protected]:user/repo.git which only works with port 22. The resource can't fetch the repository if the url is in the former style, it works fine with the latter one. For now I have changed the port 22001 to 22 but it can cause me problem in the long run. I would like to keep using 22001. Note that HTTPS works fine too.

natto1784 avatar Feb 17 '22 19:02 natto1784

I have the same issue at the moment. Would love to see a fix

cozyGalvinism avatar Aug 05 '22 15:08 cozyGalvinism

Same issue here, using bitbucket repository host. Sadly no fix since February.

HackXIt avatar Dec 22 '22 12:12 HackXIt

What are you seeing when you have this issue?

Identity added: /tmp/git-resource-private-key (key-name)
Cloning into '/tmp/git-resource-repo-cache

Then just hanging forever and never erroring out?

a72701 avatar Jan 04 '23 15:01 a72701