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
Linus Torvalds <torvalds@osdl.org>
Date
Dec 2, 2005, 16:07 UTC
Message-ID
<Pine.LNX.4.64.0512020805480.3099@g5.osdl.org>
In-Reply-To
<20051202124801.GA20332@andaco.de>
On Fri, 2 Dec 2005, Andreas Jochens wrote:
> 
> is there a simple way to specify a non-standard TCP port for a git+ssh
> connection? 
Use the ".ssh/config" file ;)
> The following small patch would allow to use an URL like 
> 'git+ssh://user@hostname:port/path' to specify an arbitrary 
> port for the ssh connection.

Maybe. On the other hand, I think we'd be better off with perhaps some way to just specify arbitrary options to the "ssh" program. Sometimes you might want to specify identity-files etc too.

		Linus
Previous: Andreas Jochens
Message 2 of 2 in “How can I specify a non-standard TCP port for a git+ssh connection?”
  1. Andreas JochensDec 2, 2005
  2. Linus TorvaldsDec 2, 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.