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

Re: can't push to ransom ssh port ?

From
VHVaclav Hanzl <hanzl@noel.feld.cvut.cz>
Date
Jul 4, 2008, 13:35 UTC
Message-ID
<20080704.153555.71091133.hanzl@noel.feld.cvut.cz>
In-Reply-To
<912ec82a0807040628k14c8acd1ree9d82b68f69e080@mail.gmail.com>
> Is there a way to tell git to connect to a random port X ?
> 
> (something like ssh's -p parameter)
It can also be done using ~/.ssh/config with this:

Host a.b.c.d Port 12345

(see man ssh_config), this way you just need to do it at one place for ssh, scp and all git repositories.

Regards
Vaclav
Previous: Neshama ParhotiNext: Neshama Parhoti
Message 5 of 6 in “can't push to ransom ssh port ?”
  1. Neshama ParhotiJul 4, 2008
  2. Johannes SchindelinJul 4, 2008
  3. Denis BuenoJul 4, 2008
  4. Neshama ParhotiJul 4, 2008
  5. Vaclav HanzlJul 4, 2008
  6. Neshama ParhotiJul 4, 2008

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.