[TriLUG] ssh 'through' a firewall

Brian A. Henning lugmail at cheetah.dynip.com
Fri Apr 23 19:51:06 EDT 2004


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: trilug-bounces at trilug.org [mailto:trilug-bounces at trilug.org]On
> 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 user at firstcomputer
> ssh user at secondcomputer
>
> 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




More information about the TriLUG mailing list