Skip to content
  • Instagram
  • Home
  • Contact us
  • About us
  • Privacy Policy
Techusers

Techusers

Learn To be a Dev

  • Home
  • Guide
  • Security & Privacy
  • Tech News
  • Computer
  • Top List
  • What is
  • Engineering
  • How To
  • Tech Terms
  • Toggle search form

SSH Warning: Remote host identification has changes! – SOLVED

Posted on 01/10/202201/10/2022 By Crazy Explorer

Hello guys, You may facing this issue while connecting through SSH. Let’s see how to fix this issue.

PS C:\Users\Techusers> ssh user@<IP ADDRESS>
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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:ZRR4ZsDR0plObwR9mIErN35O5EjXUYFGKJHVsfjcec.
Please contact your system administrator.
Add correct host key in C:\\Users\\Techusers/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in C:\\Users\\Techusers/.ssh/known_hosts:4
ECDSA host key for <IP ADDRESS> has changed and you have requested strict checking.
Host key verification failed.

This is actually a warning given by your Operating System. Someone may eavesdropping on you and it is also called as man-in-the-middle attack. Your computer warning this IP may be like that. You need to add the Remote IP as the known hosts to your computer. Follow the below steps to add Host IP as a trusted one to you PC.

Here is the solution for “SSH Remote host identification has changes”

Solution:

PS C:\Users\Techusers> ssh-keygen -R "Your IP or Host IP"

Result:

You will get the below result “C:\Users\Techusers/.ssh/known_hosts updated”.

PS C:\Users\Techusers> ssh-keygen -R "10.10.0.30"
# Host 10.10.0.30 found: line 4
C:\Users\Techusers/.ssh/known_hosts updated.
Original contents retained as C:\Users\Techusers/.ssh/known_hosts.old

Follow our blog to get more solutions related to WordPress development, Linux and much more. Thanks for Reading!!!

Related

How To, Recent Posts

Post navigation

Previous Post: What is a .MP3 file? How to open it
Next Post: What is a .OGG file? How to open it

Recent Posts

  • How to Remove User Accounts in Windows 11
  • Jio 5G beta trial expands to Chennai; 5G-powered Wi-Fi services launched
  • What is a .NFA file? How to open it
  • What is a .M3U8 file? How to open it
  • What is a .AAX file? How to open it

Copyright © 2023 Techusers.

Powered by PressBook WordPress theme