[Discuss] SSH port forwarding through middleman (bastion host)

Greg Rundlett (freephile) greg at freephile.com
Fri Jun 17 19:04:17 EDT 2016


On Fri, Jun 17, 2016 at 6:11 PM, Kent Borg <kentborg at borg.org> wrote:

> Oh, ssh has so many features, that can be obscure.
>
> If I understand, I think this will help.
>
> Say you:
>
>   ssh -L 3456:foo.com:22 bar.com


Yes, the -L xxxx:host:xxxx form is the command-line option syntax.  I put
the configuration in my .ssh/config file so that I don't have to type out
the options.

Thanks,



More information about the Discuss mailing list