SSH FAILS WITH ERROR WARNING REMOTE HOST IDENTIFICATION HAS CHANGED

SSH ERROR / HOST KEY CHANGED / SSH KNOWN HOSTS / WARNING REMOTE HOST IDENTIFICATION HAS CHANGED

WARNING DISPLAYED OR SIMILAR:-

Please contact your system administrator.

Add correct host key in /root/.ssh/knownhosts to get rid of this message.
Offending ECDSA key in /root/.ssh/known
hosts:5
remove with: ssh-keygen -f "/root/.ssh/known_hosts" -R 192.168.0.123
Password authentication is disabled to avoid man-in-the-middle attacks.
Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks



IN THE TERMINAL: CMD / COMMAND PROMPT -  ssh-keygen -R serverIPaddress

Where server IPaddress is the address of the machine you are connecting to.

This will remove the current host key and allow you to connect to the machine .
Hopefully you have identified the machine you are connecting to is in fact the correct machine
  • 0 Корисниците го најдоа ова како корисно
Дали Ви помогна овој одговор?

Related Articles

NETWORK LEVEL AUTHENTICATION (NLA) ENABLE ON XP

WINDOWS XP ERROR When connecting to Windows 2008 Server using remote desktop from a Windows XP...

XP NETWORK PROBLEM

Can ping network computers / cannot see network computers on network...

MAC VPN PPTP SETUP

Mac OS X 10.6 PPTP VPN configuration   Step 1: Set up VPN PPTP Open the System...

MAC VPN L2TP SETUP

Mac OS X 10.6 L2TP VPN configuration   Step 1. Click on Network under System Preferences....

IPHONE VPN L2TP SETUP

iPhone L2TP VPN configuration   Step 1. Start from home screen. Go to 'Settings'. Step...