Skip to content

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

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

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
Copy link
Copy Markdown

@pataluc pataluc commented Apr 28, 2026

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
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