Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
natto1784 opened this issue Feb 17, 2022 · 3 comments
Open

Comments

@natto1784
Copy link

I have (had) a gitea instance with SSH open at port 22001 which makes the SSH clone URI
ssh://git@website.xyz:22001/user/repo.git
instead of the normal
git@website.xyz: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 natto1784 changed the title Cannot fetch repository when the SSH port is something other than 12 Cannot fetch repository when the SSH port is something other than 22 Feb 17, 2022
@cozyGalvinism
Copy link

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

shageman added a commit to shageman/package-based-rails-applications-book that referenced this issue Nov 29, 2022
@HackXIt
Copy link

HackXIt commented Dec 22, 2022

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

@a72701
Copy link

a72701 commented Jan 4, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants