Authentication: Host key does not match configured key
Good morning, all! Hope all are well.
I have a script which used to work but has stopped. The logged error is **Host key does not match configured key. I can connect using the GUI tool. The session URL was pulled today from the GUI.
Looking at the log, I notice an interesting pattern. The host key reproduced in the log looks like:
"ssh-ed25519 256 nn:nn:nX:nn:nn:nn:xn:nn:xn:xx:nx:nn:xx:nn:xn:nx xxxxnx/nxnxnnnnxnnxn/xxxnnnxxxxxxxxxxxnxx=" where n is a number and x is an alphabetic character.
The configured key, however, is in the format, "ssh-ed25519-xxxxnxFnxnxnnnnxnnxnFxxxnnnxxxxxxxxxxxnxx="
The string matches between the two, but there are "F" instead of "/" and the "nn:nn:nx:nn:nn:nn:xn:nn:xn:xx:nx:nn:xx:nn:xn:nx" is omitted.
I assume this means I have misconfigured something. Any guidance is appreciated.
Regards,
Aaron
I have a script which used to work but has stopped. The logged error is **Host key does not match configured key. I can connect using the GUI tool. The session URL was pulled today from the GUI.
Looking at the log, I notice an interesting pattern. The host key reproduced in the log looks like:
"ssh-ed25519 256 nn:nn:nX:nn:nn:nn:xn:nn:xn:xx:nx:nn:xx:nn:xn:nx xxxxnx/nxnxnnnnxnnxn/xxxnnnxxxxxxxxxxxnxx=" where n is a number and x is an alphabetic character.
The configured key, however, is in the format, "ssh-ed25519-xxxxnxFnxnxnnnnxnnxnFxxxnnnxxxxxxxxxxxnxx="
The string matches between the two, but there are "F" instead of "/" and the "nn:nn:nx:nn:nn:nn:xn:nn:xn:xx:nx:nn:xx:nn:xn:nx" is omitted.
I assume this means I have misconfigured something. Any guidance is appreciated.
Regards,
Aaron