Subject: Re: How can I specify a non-standard TCP port for a git+ssh connection?

From: Andreas Jochens <[email-masked]>
Date: Sat, 3 Dec 2005 09:06:20 +0100

On 05-Dec-02 14:31, [email-masked] wrote:
> Actually, you don't need any git support.  ssh allows you to set up
> "virtual hosts" with any combination of options you like.

> So typing "ssh <virtual>" will have the effect of
> ssh <whoever>@<physical> -p <nonstandard> -i <custom> -a

This is a nice feature, of course. But I still have to edit a separate 
config file. In some cases (e.g. scripts using ad hoc port forwarding) it 
would be much easier if the non-standard port and maybe some other
options could be specified directly on the git command line or 
in .git/branches.

Regards
Andreas Jochens