[Discuss] SSH port forwarding through middleman (bastion host)
Kent Borg
kentborg at borg.org
Fri Jun 17 19:43:39 EDT 2016
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
More information about the Discuss
mailing list