[rescue] SSH through firewall

Scott Newell rescue at sunhelp.org
Wed Dec 12 10:26:46 CST 2001


I've recently done some re-wiring at the house, so I now have four sun4c
boxes (enough computing power to heat a small closet!) running behind my
firewall.  The 'net connection is DSL with a single dynamic IP address,
using dynodns.org and some scripting to keep the domain name pointing at my
linux router/PPPoE/firewall box.

I'm running SSH on all these boxes, but I've not come up with a clean way
to allow connections to each box.  I've swapped around port forwarding
assignments in the router so that each machine's sshd appears (to the
outside world) to be listening on a different port: 22, 1022, 2022, etc.
The problem is that most SSH clients whine about the host key changing,
probably (I'm assuming) because they associate the host key with the domain
name, not the domain name _and_ the port.

Is there a better way?  Any ssh clients that allow multiple host keys for a
host?


thanks,
newell



More information about the rescue mailing list