Connection is continued to be attempted after answering no

Bug #1725505 reported by Dimitri John Ledkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openssh (Ubuntu)
New
Undecided
Unassigned

Bug Description

$ ssh -p 2222 git.surgut.co.uk
Warning: the ECDSA host key for 'git.surgut.co.uk' differs from the key for the IP address '51.15.93.191'
Offending key for IP in /home/xnox/.ssh/known_hosts:371
Matching host key in /home/xnox/.ssh/known_hosts:329
Are you sure you want to continue connecting (yes/no)? no
The authenticity of host '[git.surgut.co.uk]:2222 ([51.15.93.191]:2222)' can't be established.
ECDSA key fingerprint is SHA256:5NH82FK/oUVqMrJo7trygYhKb8PjOamfwJrZ+miTAFg.
Are you sure you want to continue connecting (yes/no)? no
Host key verification failed.

I was expecting for the client to exit after answering "no" to the first question.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.