[NBLUG/talk] asking for a bit of git ssh help

Alex Kleider akleider at sonic.net
Sun May 10 12:00:59 PDT 2015


On 2015-05-10 11:24, Eric Eisenhart wrote:
> Alex,
> 
> You can either put this into ~/.ssh/config:
> 
> Host git.example.org
>     Port 5122
> 
> Or use a clone like this:
> 
> git clone ssh://user@git.example.org:5222/opt/git/myproject.git
> 
> The first one simply configures your ssh to know what port to default 
> to
> when connecting to git.example.org. The second one switches to the 
> "URL"
> syntax of git, which has more options in its syntax.

Thank you, thankyou
Just the info I was looking for.
The second choice is what I was expecting, just didn't know what syntax 
to use.
The first choice is completely new to me so I'm especially grateful.
cheers,
Alex


More information about the talk mailing list