I've got a DSL line coming into my house.  It goes into a linux box and
that box IP masquerades for the rest of the house LAN.  

I have sshd running successfully on the masq'er (Router).  I also set it
up on a machine (Ignatius) inside the masquerading firewall and configured
Router to forward a port to Ignatius' ssh port, so I can connect to
ignatius from outside without having first to connect to Router.

This confuses ssh, however.  If I'm on another, external machine, and I
use ssh to connect to Router, it saves that IP with its key in
$HOME/.ssh/known_hosts -- but if I then use ssh to connect to Ignatius, it
tries to read the same IP's key.  

Can't I make known_hosts keep track of port numbers as well?  Is there a
fix of some sort?

rjbs


Reply via email to