SSH connectivity issue after migration: Migrated NSO from TSDN 5.0 FCS version to TSDN 6.0 Drop 10.SSH connectivity to simulated devices was working fine. After the migration, we get following error message.Failed to connect to device Node_1_100: connection refused: NEDCOM CONNECT: authenticate: Exhausted available authentication methods, server allowed: [ password ] in new stateNSO : 192.168.103.236admin/Ovatest123@Device : Node_1_100SSH keys fetched successfully.
Diff between TSDN 5.0 ncs.conf and TSDN 6.0 ncs.conf. <   <DES3CBC><    <key1>0123456789abcdef</key1><    <key2>0123456789abcdef</key2><    <key3>0123456789abcdef</key3><    <initVector>0123456789abcdef</initVector><   </DES3CBC><<   <AESCFB128><    <key>0123456789abcdef0123456789abcdef</key><    <initVector>0123456789abcdef0123456789abcdef</initVector><   </AESCFB128><<   <AES256CFB128><    <key>0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef</key><   </AES256CFB128>&#8212;>   <external-keys>>    <command>${NCS_DIR}/bin/ncs_crypto_keys</command>>    <command-argument>${NCS_CONFIG_DIR}/ncs.crypto_keys</command-argument>>   </external-keys>Hello, Yes, Looking at this output, it seems the ssh key has been changed during migration in the ncs.conf file.To resolve this issue we recommend, 1. revert ssh key method in ncs.conf (or update to the older ssh key)2. restart ncsPlease let us know if this works.After speaking to Sreedhar, observed there is no ncs.conf back up file. Using diff set provided above, modified the ncs.conf file as below <encrypted-strings> <!--  <DES3CBC>   <key1>0123456789abcdef</key1>   <key2>0123456789abcdef</key2>   <key3>0123456789abcdef</key3>   <initVector>0123456789abcdef</initVector>  </DES3CBC>  <AESCFB128>   <key>0123456789abcdef0123456789abcdef</key>   <initVector>0123456789abcdef0123456789abcdef</initVector>  </AESCFB128>  <AES256CFB128>   <key>0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef</key>  </AES256CFB128> -->  <external-keys>   <command>${NCS_DIR}/bin/ncs_crypto_keys</command>   <command-argument>${NCS_CONFIG_DIR}/ncs.crypto_keys</command-argument>  </external-keys> </encrypted-strings>After restarting NSO, seeing belowadmin@ncs% request devices device xrv9-6 sync-fromresult truePlease verify if setup is working.Hi Janaki,Thanks. Able to sync the devices from NSO (just sync, no need to ssh fetch-keys)Customer verified that Issue is resolved and ticket can be closed.