When setting up a key for ssh for the first time a very confusing messagebox appears.
Submitted by Andreas Moog
Link to original bug (#551585)
Description
Please describe the problem: I just created an ssh key and set up another machine to recognise it using the wizard that is part of the key creation wizard. I had already connected to the other machine using ssh password authentication. This worked flawlessly.
I then wanted to set up another machine that I hadn't previously accessed.
I selected the "Set up computer for Secure Shell" option and filled in
the hostname. I was then given a password prompt as before, but the
message was different, instead of "<username>
password for <hostname>
(<ip address>
)" I had "Authenticity of the host key for <hostname>
(<ip address>
) cannot be established".
Entering my password in to that dialog gave an error dialog with the same message and the wizard quit. I figured that I had to type yes in this dialog to accept the identification of the remote host.
Steps to reproduce:
- Create a SSH-Key
- Use the wizard to automatically setup a remote host that you never accessed before (or deleted from ~/.ssh/known_hosts)
Actual results:
A messagebox appears with the text "Authenticity of the host key for <hostname>
can't be established" and a prompt for entering password.
Expected results: A choose between yes and no if want to trust the authenticity would be the best solution. But it is sufficient if instead of passphrase there would be a message saying "Type in 'yes' or 'no'".
Does this happen every time? Yes - If the host is not in known_hosts
Other information: This issue has been reported on Launchpad: https://bugs.edge.launchpad.net/ubuntu/+source/seahorse/+bug/183643
Version: git master