You are not logged in.
Pages: 1
I'm trying to install arch from official iso file, better over ssh.
I've set up the root passwd on destination machine, reload sshd, however can't connect to it from remote shell:
bash-3.2$ ssh root@192.168.1.99
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 ED25519 key sent by the remote host is
SHA256:.
Please contact your system administrator.
Add correct host key in /Users/user/.ssh/known_hosts to get rid of this message.
Offending ED25519 key in /Users/user/.ssh/known_hosts:4
Host key for 192.168.1.99 has changed and you have requested strict checking.
Host key verification failed.
Offline
That's an issue on your client, not on the server on the ISO. It even tells you how to fix it.
Last edited by Scimmia (2022-11-22 15:55:22)
Offline
Fixed easily:
rm .ssh/known_hosts
Offline
This typically is a problem with the *client*, not the server you're trying to connect to. You have connected to 192.168.1.99 before, which was a different server/entity than the Arch box you're trying to install. Remove the cached entries in known_hosts on the client.
Offline
Yeah thankfully it's covered by wiki:
Install Arch Linux via SSH
Last edited by korimitsu (2022-11-22 16:07:32)
Offline
FWIW that's a bit of overkill. Ideally you'd just remove the single offending line from the known_hosts list. Removing the entire file will result in any other known hosts no longer being recognized on next log-in resulting in a prompt to verify it is correct. EDIT: though I suppose anyone who uses ssh enough to be affected by this would also not need this explained to them and they'd immediately recognize the problem and the better solution. So I suppose if one is stumped by the error message, they most likely have nothing of value in known_hosts to loose anyways.
Last edited by Trilby (2022-11-22 17:12:56)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Pages: 1