cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1558
Views
0
Helpful
2
Replies

APIC 1 can’t access APIC 3 through Objects Model CLI “bash”

mohanadbarahim
Level 1
Level 1

Hi Everyone, 

 

I have replaced one of the APIC 3 in the cluster, the APIC has joining the cluster successfully. but when am trying to Access the APIC 3 through APIC 1 “object model CLI Bash” am getting the following error. But there is no issues access it from APiC2. Also from APIC3 I can access APIC 1 and 2 and all the leaves. Issue accessing from APIC 1 to APIC 3


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 Accepted Solution

Accepted Solutions

Nik Noltenius
Spotlight
Spotlight

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

View solution in original post

2 Replies 2

Nik Noltenius
Spotlight
Spotlight

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

Hi 


@Nik Noltenius wrote:

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


Hi Nik, 

 

Thanks for your help , it wasn't accepting host name ,   only the ip address of the machine. Now i can access it through Object Model. 

 

Regards, 

B

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Save 25% on Day-2 Operations Add-On License