From: Vaclav Hanzl Date: Fri, 04 Jul 2008 13:35:55 GMT Subject: Re: can't push to ransom ssh port ? 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