Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssh logon fails keycheck. on entry in known_hosts #2169

Closed
macerg opened this issue Feb 19, 2018 · 4 comments
Closed

ssh logon fails keycheck. on entry in known_hosts #2169

macerg opened this issue Feb 19, 2018 · 4 comments

Comments

@macerg
Copy link

macerg commented Feb 19, 2018

ssh-keyscan [192.168.1.10]:8022
getaddrinfo [192.168.1.10]:8022: No address associated with hostname
getaddrinfo [192.168.1.10]:8022: No address associated with hostname
getaddrinfo [192.168.1.10]:8022: No address associated with hostname
u0_a134@localhost:~$ ssh -p 8022 192.168.1.10 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:7201eyCLf6C+Zi2RNQDafYjsesmq8ciq7q3h29oJkgg.
Please contact your system administrator.
Add correct host key in /data/data/com.termux/files/home/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /data/data/com.termux/files/home/.ssh/known_hosts:56
ECDSA host key for [192.168.1.10]:8022 has changed and you have requested strict checking.
Host key verification failed.

@macerg
Copy link
Author

macerg commented Feb 19, 2018

.....no entry in .ssh/known_hosts for this address:port but fails security.

@macerg
Copy link
Author

macerg commented Feb 19, 2018

Updatable packages:
All packages up to date
System information:
Linux localhost 3.18.19+ #1 SMP PREEMPT Sat Dec 10 21:57:17 CST 2016 aarch64 Android
Termux-packages arch:
aarch64
Android version:
6.0
Device manufacturer:
DOOGEE
Device model:
T5

@ghost
Copy link

ghost commented Feb 19, 2018

ECDSA host key for [192.168.1.10]:8022 has changed and you have requested strict checking.
Host key verification failed.

Did you reinstall Termux or change host keys ?
I suggest you to remove/rename file 'known_hosts' and try to ssh into Termux again.

@gagaltotal
Copy link

gagaltotal commented Sep 8, 2020

example :

  • ssh-keygen -R (IP server)
  • ssh-keygen -R 123.23.323.12

https://www.gagaltotal666.my.id/2020/09/fix-ssh-login-fails-keycheck-on-entry.html

@ghost ghost locked and limited conversation to collaborators Oct 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants