Skip to content

Adding a git remote or cloning with SSH on a non-standard port #5147

Answered by kastl-ars
kastl-ars asked this question in Q&A
Discussion options

You must be logged in to vote

Aaaaand I can answer myself, it seems libgit2 only allows ports using the ssh:// syntax.

This works:

jj git clone ssh://[email protected]:12345/some-organization/my-repository.git

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lmas
Comment options

Answer selected by kastl-ars
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants