cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
72
Views
0
Helpful
1
Replies
Beginner

APIC not be able to access after has been replaced

Hi Everyone, 

 

i have replaced one of the APIC in the cluster, the APIC has joining the cluster successfully. but i can't access through the shell platform is giving me the following error, I can access through KVM by the admin password. Also, I have tried SSH the OOB IP am not able to access through the admin or tacacs+. 

 

bXXXX@CN-ABC-01-01:~> attach CN-DEF-01-01
This command is being deprecated on APIC controller, please use NXOS-style equivalent command
# Executing command: ssh CN-DEF-01-01 -b 192.168.0.1
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 RSA key sent by the remote host is
SHA256:XXXX.XXXX.XXXX.XXXX.XXXXX.XXXX.XXXX
Please contact your system administrator.
Add correct host key in /home/bXXXXX/.ssh/known_hosts to get rid of this message.
Offending RSA key in /home/bXXXXX/.ssh/known_hosts:4
Password authentication is disabled to avoid man-in-the-middle attacks.
Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.
Application Policy Infrastructure Controller

 

 

1 REPLY 1
Beginner

Re: APIC not be able to access after has been replaced

Have you tried deleting the host key for the old device?

Depending on from where you're trying to access the new APIC there could be different ways to do that. On a linux system you should have to type something like

ssh-keygen -R CN-DEF-01-01

This should also work on the other APICs.

When you then SSH to the new device it's presenting it's own key and you can accept it.

 

kind rergards,
Nik

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards