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

Re: connect directly to another computer bypassing firewalls using a third server

alberto fuentes wrote:
> A (me) -> Server (overseas) -> B (arbitrary computer in my city)
> To make it a little more clear. Both computer A and B know about Server.
> Right now I use openvpn to bring all the computers together into the same
> network. But it seems too much overhead being both computers on the same
> city. Even if the server where in the same city as well, it adds another
> extra jump that i would like to avoid.

Then using ssh -W as I originally suggested is easy and will do it.

On A (you):

  ssh -o ProxyCommand="ssh -W %h:%p server" B

Look in my previous message for how to put this in your ssh config file.


Attachment: signature.asc
Description: Digital signature

Reply to: