[LUNI] SSH Trickery

Demetri Mouratis dmourati at cm.math.uiuc.edu
Thu Feb 8 13:55:51 CST 2007


On Wed, 7 Feb 2007, John Mason wrote:

> On Wed, Feb 07, 2007 at 04:37:01PM -0600, Demetri Mouratis wrote:
>> So, my question is this, is there some crafty way I can tell my client,
>> openssh 4.3 to do a "double ssh" for hosts in the production network,
>> first hopping through ops2, and then going to the production hosts in the
>> protected network?  I have ssh-agent forwarding enabled so this works if I
>> do so manually, e.g.:
>
> ssh tunnelling. I do this everyday.

John,

Cool! That works and was close to what I had in mind.  Does the fact that 
I have twenty hosts and growing in this protected network reveal a 
solution that perhaps scales a bit better?  They're all in the same 
/27 netblock if that helps.

(I knew about ssh tunnelling but didn't think of applying it in this case. 
Glad I threw it out there before wasting any time.)

Thanks!


More information about the luni mailing list