[PLUG] ssh picking up the incorrect IP address

Rich Shepard rshepard at appl-ecosys.com
Thu Dec 4 15:43:01 UTC 2003


  Without going into details I hosed my new laptop this morning in a period
of stress and insufficent attention. I re-installed the distribution
(Slackware-9.1) and re-created the Emperor Linux customizations. It boots
and I'm now anxious to restore the working state it was in before I messed
it up.

  However, whenever I try to use ssh or scp (to move necessary applications
from another box on the network), the tool tries to connect to my external
IP address, not the internal network address. Of course, it keeps failing.

  I've used 'egrep -r' on every filesystem I can think of as a potential
source of that IP address (particularly /etc) but without finding it. If I
use 'ssh 192.168.55.1' I connect. If I use the hostname (i.e., 'ssh salmo')
with verbose mode turned on, I see that ssh (or scp) is assigning the IP
address 216.99.206.23 to salmo rather than the non-routable address. Where
could it be picking up this address? I have not configured anything on this
portable with that address for it's supposed to be only on the external
interface of the router/firewall.

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
<http://www.appl-ecosys.com>




More information about the PLUG mailing list