git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
AJAndreas Jochens <aj@andaco.de>
Date
Dec 3, 2005, 08:06 UTC
Message-ID
<20051203080620.GA22032@andaco.de>
In-Reply-To
<20051202193101.29853.qmail@science.horizon.com>
On 05-Dec-02 14:31, linux@horizon.com 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

Previous: linux@horizon.comNext: Junio C Hamano
Message 2 of 4 in “Re: How can I specify a non-standard TCP port for a git+ssh connection?”
  1. linux@horizon.comDec 2, 2005
  2. Andreas JochensDec 3, 2005
  3. Junio C HamanoDec 3, 2005
  4. Andreas JochensDec 3, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.