Hi - I'm afraid I'm only just staring out with Raspberry and linux so please bear with me.
I reinstalled my Raspberry and when I tried to reconnect via ssh I got the message
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED
Offending ECDSA key in /home/mobaxterm/.ssh/known_hosts:1
and I was directed to /home/mobaxterm/.ssh/known_hosts as I was using MobaXterm to access over ssh.
I logged in using the pi account and tried the various fixes such as ssh-keygen -R hostname -f ~/.ssh/known_hosts but I kept running into the problem that I couldn't access /home/mobxterm to find the known_hosts files.
I am assuming this is because by logging in using the pi account I am in a different part of the directory, so I wondered whether anyone could direct me into how to get access to the known_host file.
I'm now using putty and it's logging in fine - presumably as it is using a new key
Any explanation would be much appreciated