I am attempting to install and use the Ubuntu Core distro on a Raspberry Pi 3 for the first time.
My SD card is formatted in MS_DOS FAT and the the ISO is flashed onto the card.
I have gone through the process of attaching my Pi to a monitor and keyboard and supplying my Ubuntu One email address. At the end of the process, the monitor supplies ssh details for connecting to the Pi.
I have also generated an id_rsa.pub key and supplied it to my Ubuntu One ssh keys area.
With all that done, when I try to ssh into the Pi, I get one of 2 messages.
The first message I got was:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:QrfHNJLLJ4wjeQAPoVK+W0lhI7pfww3liCVI3/IoJCk.
Please contact your system administrator.
Add correct host key in /Users/userx/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/userx/.ssh/known_hosts:29
ECDSA host key for 192.168.0.14 has changed and you have requested strict checking.
Host key verification failed.
After a while, it didn't report the above message but instead requested a password - which by definition Ubuntu Core is not supposed to utilise.
I need help please.
As you can read in this message you have saved this host in your know_hosts file. So now, you should remove it:
and after that try to ssh to your RPI. But please remember, that you cann't have possibility to ssh to them on root account. It depends on ssh daemon configuration: "PermitRootLogin" option in /etc/sshd_config file.
Delete known Hosts under ~/.ssh/known_hosts then try to reconnect. You should upload the public keys before you start Ubuntu Core configuration.