Sparks
26 October 2020 12:50
1
After installing Mate I am no longer able to connect to the host computer having the Mate OS. I get the following. Any help would be appreciated.
" @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:1ChAo3AkcCMqRVaX0NeodisxgCzWdjW20poX5hKkzXo.
Please contact your system administrator.
Add correct host key in /var/root/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /var/root/.ssh/known_hosts:2
ECDSA host key for 10.0.0.122 has changed and you have requested strict checking.
Host key verification failed."
olek
26 October 2020 12:54
2
Hi
It's normal if your computer remember a device with the same name or IP, and it got rebuilded.
You can remove the line that do not match your known host inside ~/.ssh/known_hosts
The SSH will so learn it again and let you go.
Sparks
26 October 2020 13:48
3
Thanks, I am new to this how do I get to ~/.ssh/known_hosts?
olek
26 October 2020 13:50
4
Sparks:
~/.ssh/known_hosts
We all started like this
you can open a terminal and run :
nano ~/.ssh/known_hosts
then remove the line that matches your remote host.
If you are not feeling comfortable with changing something inside this file, you can rename it and ssh daemon will create one new for you :
mv ~/.ssh/known_hosts ~/.ssh/known_hosts.old
Sparks
26 October 2020 13:54
5
I opened this on my Ubuntu and there is nothing in the file. Do I do this on my Mac?
olek
26 October 2020 13:56
6
From where are you trying to get where ?
From mac to ubuntu or inverted ?
Sparks
26 October 2020 14:00
7
olek:
nano ~/.ssh/known_hosts
I want to use my Mac to SSH to Ubuntu. I opened it on my Mac but I am unable to remove the line of text. I highlight the text but it will not delete.
Sparks
26 October 2020 14:06
8
I was able to delete the lines, but still can't get into the Ubuntu.
olek
26 October 2020 14:39
9
are you trying to connect with root ?
Sparks
26 October 2020 14:41
10
olek
26 October 2020 14:59
11
Try without sudo
Or, rename /var/root/.ssh/known_hosts to /var/root/.ssh/known_hosts2
sudo mv /var/root/.ssh/known_hosts /var/root/.ssh/known_hosts2
1 Like
Sparks
26 October 2020 15:01
12
Thanks. That worked. Glad you were around.
olek
26 October 2020 15:04
13
Do not hesitate this community is full of people that want to help
Sparks
26 October 2020 16:51
14
Thank you. By the way where is the SD card copier? I can't even find the old software repository, so I could search.
olek
26 October 2020 16:59
15
Search for "Disks" inside the menu, you will find a disk manager that can create a copy of your card to a file, next burn it again (up right corner inside the Disks app)
Sparks
26 October 2020 17:26
16
OK see it now, but I guess no direct copy SD to SD! Do I have to make an image first?
olek
26 October 2020 18:03
17
Yap Next time do open a separate question in order to have things tidy