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