DX NetOps

 View Only
Expand all | Collapse all

Getting error SPC-NCM-20007 when doing a device configuration capture in NCM

  • 1.  Getting error SPC-NCM-20007 when doing a device configuration capture in NCM

    Posted Jan 05, 2017 12:34 AM

    Hello everybody,

     

    i am gettng error "SPC-NCM-20007" when doing a device configuration capture in NCM. Tried to capture the configuration manually by using scp but getting some wrong host key error.

    scp <user>@<router s IP>:running-config . 

     

    ***************************************************************

    C:\Users\Administrator>scp <user>@<router s IP>:running-config .
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @ 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 the RSA host key has just been changed.
    The fingerprint for the RSA key sent by the remote host is
    64:6b:78:70:45:e9:4f:d0:47:5b:80:cb:6c:03:8a:b8.
    Please contact your system administrator.
    Add correct host key in /home/Administrator/.ssh/known_hosts to get rid of this
    message.
    Offending key in /home/Administrator/.ssh/known_hosts:21
    RSA host key for <router ip> has changed and you have requested strict checkin
    g.
    Host key verification failed.

    *******************************************************************

    Have you ever faced this type of error ?

    Thanks,

    Bijender



  • 2.  Re: Getting error SPC-NCM-20007 when doing a device configuration capture in NCM

    Broadcom Employee
    Posted Jan 15, 2017 05:14 PM

    Hi Bijender,

     

    The recorded RSA key in /home/Administrator/.ssh/known_hosts file could be old or not valid anymore. 

    Offending key in /home/Administrator/.ssh/known_hosts:21

     

    Modify the known_hosts file by removing line 21 and then you can try again. The known_hosts file contained the RSA keys that were valid before but this can change if you change the physical router.