Hi Peter,

Victor gave a method of stopping the warning, but Hamish was on the
right track of using different IP addresses.

> Many times when I try to log-in to a Raspberry Pi via SSH I get the
> following message:
...
> ECDSA host key for 192.168.1.9 has changed and you have requested
> strict checking.

What operating system is running your ‘ssh 192.168.1.9’?  If Linux,
I expect it has support for multicast DNS and you should be able to do
‘ssh raspberrypi.local’ instead; the default hostname(1) in Raspbian
being ‘raspberrypi’ and ‘local’ being a pseudo top-level domain
reserved for mDNS: https://en.wikipedia.org/wiki/.local

You may find the first ssh or ‘ping raspberrypi.local’ doesn't work,
but it doesn't from the second on.  This is just the time-out used being
shorter than the time taken by the system to get a reply to its broadcast.

If that works, you can give each of your Raspbian installations a
different hostname that's meaningful, e.g. ‘coupe’ for your RC car
that doesn't stop.

https://bloggerbrothers.com/2017/01/08/name-your-pis-with-mdns-forget-the-ips-with-zeroconf/
has more detail.  I haven't tried what I suggested, or what's in that
article, but think the theory's correct.

-- 
Cheers, Ralph.

-- 
  Next meeting: BEC, Bournemouth, Tuesday, 2019-10-01 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk/
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

Reply via email to