Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

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 06/17/2016 07:04 PM, Greg Rundlett (freephile) wrote:
> On Fri, Jun 17, 2016 at 6:11 PM, Kent Borg <kentborg at borg.org 
> <mailto: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 <http://foo.com:22> bar.com <http://bar.com>
>
>
> Yes, the -L xxxx:host:xxxx form is the command-line option syntax.

That stuff in your e-mail was just the same is the -L option?? Man, ssh 
is confusing.

> I put the configuration in my .ssh/config file so that I don't have to 
> type out the options.

I tend to write isolated trivial shell scripts instead.


-kb




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