[TriLUG] sftp/ssh to boxes behind a firewall
Magnus
magnus at trilug.org
Wed Apr 4 09:44:55 EDT 2007
Aaron S. Joyner wrote:
> A couple entries like this
> on your laptop may go a long way towards making your life easier:
>
> Host gateway
> HostName your.external.dns.name.example.com
> LocalForward 22222 an.internal.hostname:22
Note that with the netcat method, none of the ssh servers need to run on
odd ports, nor does anything odd need to be done with the sshd_config on
the servers. The ssh "gateway" box (the one machine listening on port
22 externally) would have to have netcat (nc) installed locally.
Everything else is handled in the client config file to establish the proxy.
--
"Showing off is the fool's idea of glory." - Bruce Lee's observations of
people at TriLUG meetings who won't shut up and let the guest speaker talk
More information about the TriLUG
mailing list