Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month, online, via Jitsi Meet.

BLU Discuss list archive


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

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



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,



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org