Re: can't push to ransom ssh port ?

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

 



> 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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux