On 11/18/21 15:35, Daniel P. Berrangé wrote: > When validating the server key fingerprint fails, it is difficult for > the user to know what they got wrong. The fingerprint accepted by QEMU > is received in a different format than openssh displays. There can also > be keys for multiple different ciphers in known_hosts. It may not be > obvious which cipher QEMU will use and whether it will be the same > as openssh. Address this by printing the server key type and its
"OpenSSH"? (twice) > corresponding fingerprint in the format QEMU accepts. > > Signed-off-by: Daniel P. Berrangé <berra...@redhat.com> > --- > block/ssh.c | 37 ++++++++++++++++++++++++++++++------- > 1 file changed, 30 insertions(+), 7 deletions(-) Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com>