Offending ECDSA key in /home/peterm/.ssh/known_hosts:8
remove with:
ssh-keygen -f "/home/peterm/.ssh/known_hosts" -R "192.168.1.9"
tells you how. You will then be able to log in after agreeing to generate a
new key.
Thanks Terry, I am used to doing this every time I work with a different
Pi/software.
Victor has sent me a solution that will work for me, but not sent it to LUG:
In your own home directory there should be a directory .ssh/ ; in that
directory you may already have a file called config. If it doedsn't exist,
create it with usual permissions.
In that file create the lines:
Host 192.168.1.9
StrictHostKeyChecking no
Next time you say 'ssh 192.168.1.9' your ssh command should read the config
and override the strict host key check .
This only affects the behaviour of your own ssh client , when connecting to
this IP address. So it should not impact your overall security.
Peter
--
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