[Bug 1725505] [NEW] Connection is continued to be attempted after answering no

Dimitri John Ledkov launchpad at surgut.co.uk
Fri Oct 20 22:44:09 UTC 2017


Public bug reported:

$ 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.

** Affects: openssh (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1725505

Title:
  Connection is continued to be attempted after answering no

Status in openssh package in Ubuntu:
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1725505/+subscriptions



More information about the foundations-bugs mailing list