cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

967
Views
0
Helpful
2
Replies
mohanadbarahim
Beginner

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

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
Beginner

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
Beginner

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

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

Content for Community-Ad