How about port-forwarding? Either on firstcomputer, or at the gateway/firewall (if those are not one and the same).. Pick an arbitrary high port and have it forwarded to secondcomputer's port 22 (or whatever port you may have SSH listening to; 22 of course being the default). Your particular network setup will greatly affect how this could be accomplished..
HTH ~B > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Douglas Kojetin > Sent: Friday, April 23, 2004 7:30 PM > To: Triangle Linux Users Group discussion list > Subject: [TriLUG] ssh 'through' a firewall > > > hi all- > > i ssh to a computer computer behind a firewall that has access to other > computers behind the network that i frequently need to ssh to. what i > normally do is > > ssh [EMAIL PROTECTED] > ssh [EMAIL PROTECTED] > > is there a shortcut i can take so that i don't ssh twice? i've setup > aliases and 'no-password authentication' to ease things, but it would > be nice to do the above in one command if possible. > > thanks! > doug > > -- > TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug > TriLUG Organizational FAQ : http://trilug.org/faq/ > TriLUG Member Services FAQ : http://members.trilug.org/services_faq/ > TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc -- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/ TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
