Skip to content

feat: add support for SSH git URL with custom port - #113

Closed
pataluc wants to merge 1 commit into
tobi:mainfrom
pataluc:feature/ssh-custom-port
Closed

feat: add support for SSH git URL with custom port#113
pataluc wants to merge 1 commit into
tobi:mainfrom
pataluc:feature/ssh-custom-port

Conversation

@pataluc

@pataluc pataluc commented Apr 28, 2026

Copy link
Copy Markdown

When using a custom git server listening on a custom ssh port, the URL format is not

git@host:user/repo.git
but
ssh://git@host:port/user/repo.git

This commit allows such URLs to be parsed.

Tests have been updated. This works well at my company using a Bitbucket with SSH listening behind a load balancer on port 443

@pataluc
pataluc force-pushed the feature/ssh-custom-port branch from f200b7e to 7f1e012 Compare April 28, 2026 15:36
When using a custom git server listening on a custom ssh port, the URL format is not
git@host:user/repo.git
but
ssh://git@host:port/user/repo.git

This commit allows such URLs to be parsed.
@pataluc
pataluc force-pushed the feature/ssh-custom-port branch from 7f1e012 to 6f729df Compare April 28, 2026 15:44
@tobi tobi closed this in #126 Aug 8, 2026
tobi added a commit that referenced this pull request Aug 8, 2026
Closes #113

Co-authored-by: pataluc <luc@fouin.org>
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

Successfully merging this pull request may close these issues.

1 participant