cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4087
Views
25
Helpful
8
Replies

Cisco CLI Analyzer RSA key verification failing everytime

luke_r_godwin
Level 1
Level 1

Since version 3.6.7 I get this each time I open an SSH connection to any of the devices in my fleet. I have been using the CLI analyzer tool for more than a year and none of the devices have changed RSA keys.

Deleteing the known_hosts file made no difference.

Screenshot 2021-04-19 084418.png

8 Replies 8

Scott Hardin
Cisco Employee
Cisco Employee

Hi Luke. Thanks for using Cisco CLI Analyzer.

 

If you are on a Windows machine and these devices were working prior to version 3.6.7, it's likely due to the fact that we updated the version of ssh-keyscan included with Cisco CLI Analyzer in order to address some security vulnerabilities. With the upgrade of ssh-keyscan, several dated KEX Algorithms were deprecated and are no longer recognized as valid when doing the handshake for host key verification. This can pose a problem for older Cisco hardware.

 

We are planning to include a feature to bypass this warning automatically in release 3.6.8 of Cisco CLI Analyzer.

Thanks Scott,  

Would regenerating the ssh key on the switch(es) be a workaround?  If so which algorithms can be used?

Here was my workaround.

 

1. Close Cisco CLI Analyzer

2. Install Cisco CLI Analyzer v3.6.6 on another PC.

3. Rename the folder C:\Program Files\Cisco Systems, Inc\Cisco CLI Analyzer\keyscan\64 to "old" on your PC

4. Copy same folder from v3.6.6 PC to your PC in the same location.

5. Start Cisco CLI Analyzer.

 

This replaces their "updated" version if KeyScan with the previous version. You will get a prompt the first time you connect to the switch but then it adds it to the list of trusted hosts and you're golden.

hi any ETA for version 3.6.8 ?

jofrumki
Cisco Employee
Cisco Employee

Hello @fpacholski 

Tentatively the release for 3.6.8 will be available in the next week or two. If you wish to be notified when it's available please edit your notifications in the Software Downloads page. https://software.cisco.com/download/home/286311499/type/286312309/os?catid=null

 

 

Is there a way to get a startup log / trace file from Cisco CLI Analyzer?

I got the upgrade to 3.6.8 today and now have less than nothing as the application fails to display any window of any sort; I can see it running in task manager / process explorer but it looks to be choking on something.

Process Explorer shows that the nw.exe process is starting the below command, which dies off within a few moments:

"C:\Program Files\Cisco Systems, Inc\Cisco CLI Analyzer\nw.exe" --type=utility --utility-sub-type=chrome.mojom.UtilWin --field-trial-handle=1852,4388010660445875460,871930487639031769,131072 --disable-features=nw2 --lang=en-US --service-sandbox-type=none --no-sandbox --user-data-dir="C:\Users\[redacted]\AppData\Local\Cisco-CLI-Analyzer\User Data" --nwapp-path="C:\Program Files\Cisco Systems, Inc\Cisco CLI Analyzer" --mojo-platform-channel-handle=3328 /prefetch:8

 

*edit* there appears to be a crashdump file being produced at a rate of 8 per minute, there is several hundred of these mdmp files by now.

Hi Luke. Probably a silly question, but have you tried uninstalling and reinstalling? I've heard a couple cases of folks having issues with auto upgrades. You should be able to uninstall and reinstall without discarding any of your user data.

pma1995
Level 1
Level 1

I found this fix on another site.

Type the below text into the console - hostname is the ip address or hostname of router.
'ssh-keygen -R hostname'

Exit then log in again.

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: