Skip to content

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

@natto1784

Description

@natto1784

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions