lists.zerezo.com



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can't push to ransom ssh port ?



> 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






--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html