- To: Sonia Hamilton <sonia@xxxxxxxxxxxx>
- Subject: Re: [SLUG] ssh - localhost, mysql
- From: Rick Welykochy <rick@xxxxxxxxxxxxx>
- Date: Mon, 31 Mar 2008 11:50:09 +1100
- Cc: slug@xxxxxxxxxxx
- User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.11) Gecko/20071128 SeaMonkey/1.1.7
Sonia Hamilton wrote:
Slightly OT question related to this. How would I prevent ssh
complaining about changed ssh keys for localhost? (Because I regularly
tunnel via localhost, but to different ips).
Just a guess.... you could assign one loopback addr to each
distinct host and add to your /etc/hosts file:
127.0.0.101 tunhost1
127.0.0.102 tunhost2
127.0.0.103 tunhost3
127.0.0.104 tunhost4
127.0.0.105 tunhost5
:
and arrange a separate and uniquely identifiable tunnel
for each host.
cheers
rickw
--
________________________________________________________________
Rick Welykochy || Praxis Services || Internet Driving Instructor
The best way to accelerate a PC is 9.8 m/s2
-- anon