SSH cipher mismatch with CISCO devices No matching hostkey algorithm found

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SSH cipher mismatch with CISCO devices No matching hostkey algorithm found

We are attempting to manage Cisco devices that have recently uplifted their key cipher exchange.

 

previously we were able to manage/connect however now the error No matching hostkey algorithm found is seen on the logs on the devices and the connection dropped.

 

The list of accepted protocols should be

 

ip ssh server algorithm mac hmac-sha2-256 hmac-sha2-512

ip ssh server algorithm encryption aes128-ctr aes192-ctr aes256-ctr aes128-cbc 3des-cbc aes192-cbc aes256-cbc

ip ssh server algorithm kex ecdh-sha2-nistp256 ecdh-sha2-nistp384 ecdh-sha2-nistp521

ip ssh server algorithm hostkey x509v3-ssh-rsa rsa-sha2-512 rsa-sha2-256

ip ssh client algorithm mac hmac-sha2-256 hmac-sha2-512

ip ssh client algorithm encryption aes128-ctr aes192-ctr aes256-ctr aes128-cbc 3des-cbc aes192-cbc aes256-cbc

ip ssh client algorithm kex ecdh-sha2-nistp256 ecdh-sha2-nistp384 ecdh-sha2-nistp521

 

I believe that the CyberArk.tpc.exe engine uses renci SSH.net libraries and the accepted cipher keys are the following.

 

(as per Terminal Plugin Controller | CyberArk Docs)

 

Functionality

Support

Key exchange methods

  • diffie-hellman-group-exchange-sha256
  • diffie-hellman-group-exchange-sha1
  • diffie-hellman-group14-sha1
  • diffie-hellman-group1-sha1
  • curve25519-sha256
  • [email protected]
  • ecdh-sha2-nistp256
  • ecdh-sha2-nistp384
  • ecdh-sha2-nistp521

Message authentication codes

  • hmac-md5
  • hmac-md5-96
  • hmac-sha1
  • hmac-sha1-96
  • hmac-sha2-256
  • hmac-sha2-256-96
  • hmac-sha2-512
  • hmac-sha2-512-96

Host key algorithms

  • ecdsa-sha2-nistp256
  • ecdsa-sha2-nistp384
  • ecdsa-sha2-nistp521
  • Ssh-rsa
  • Ssh-dss

 

so there should be a match on

 

hmac-sha2-512 and hmac-sha2-512-96

 

Does this need to be set in the expectconfiguration.ini file?

1 REPLY 1

L7 Applicator

Hi @Michael Roszbach​ 

 

In my experience dealing with similar plugin requirement, the ciphers were required to be updated on the OS level, that is on the CPM server.

 

Please check with your WinTel team if the missing ciphers are supported on the OS installed on CPM and if they can help to en me the Ciphers.

 

If the OS version is not supported then upgrading OS on the CPM might help to Enable to install the required Ciphers.

 

Hope it helps !

  • 2278 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!