cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
58833
Views
37
Helpful
6
Replies

ssh error message "CBC Ciphers got moved out of default config"

ruslan932
Level 1
Level 1

Hello,

 

i have a new 3650 Switch and when i using ssh i got "%SSH: CBC Ciphers got moved out of default config. Please configure ciphers as required(to match peer ciphers)
[Connection to 10.1.33.3 aborted: error status 0]".

 

 

is there anyone face such issue?

2 Accepted Solutions

Accepted Solutions

Jaderson Pessoa
VIP Alumni
VIP Alumni

@ruslan932 hello,

try run it: sw(config): crypto key generate rsa modulus 2048 and test again.

Jaderson Pessoa
*** Rate All Helpful Responses ***

View solution in original post

Hi!

Command(only) crypto key generate rsa modulus 2048 is not enough.

 

Solution: using also this command:

 

Switch(config)#ip ssh client algorithm encryption ?
3des-cbc Three-key 3DES in CBC mode
aes128-cbc AES with 128-bit key in CBC mode
aes128-ctr AES with 128-bit key in CTR mode
aes192-cbc AES with 192-bit key in CBC mode
aes192-ctr AES with 192-bit key in CTR mode
aes256-cbc AES with 256-bit key in CBC mode
aes256-ctr AES with 256-bit key in CTR mode

 

Thanks for your attention!

View solution in original post

6 Replies 6

Jaderson Pessoa
VIP Alumni
VIP Alumni

@ruslan932 hello,

try run it: sw(config): crypto key generate rsa modulus 2048 and test again.

Jaderson Pessoa
*** Rate All Helpful Responses ***

Hi!

Command(only) crypto key generate rsa modulus 2048 is not enough.

 

Solution: using also this command:

 

Switch(config)#ip ssh client algorithm encryption ?
3des-cbc Three-key 3DES in CBC mode
aes128-cbc AES with 128-bit key in CBC mode
aes128-ctr AES with 128-bit key in CTR mode
aes192-cbc AES with 192-bit key in CBC mode
aes192-ctr AES with 192-bit key in CTR mode
aes256-cbc AES with 256-bit key in CBC mode
aes256-ctr AES with 256-bit key in CTR mode

 

Thanks for your attention!

Thanks. This solved my problem also.

I've got this problem after upgrade router 2951/K9 from 15.1(4)M1 to 15.7(3)M7.

I've fixed the problem as described upper by the command :

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

@ruslan932 , thank you!!!

getting below error while taking ssh session- device (Cisco 3650)

 

%SSH: CBC Ciphers got moved out of default config. Please configure ciphers as required(to match peer ciphers)
[Connection to 10.139.xx.xx aborted: error status 0]

 

Issued below command, but still getting same error

( config)#crypto key generate rsa modulus 2048 

 

 

 

 

 

 

If you are willing to connect from a modern CLI to a legacy one you should try this command:

# ssh -v <SSH_VERSION> -c <CYPHER> -l <USERNAME> <IP/FQDN>

IOS-XE17.6.4#ssh ?
  -c    Select encryption algorithm
  -l    Log in using this user name
  -m    Select HMAC algorithm
  -o    Specify options
  -p    Connect to this port
  -v    Specify SSH Protocol Version
  -vrf  Specify vrf name
  WORD  IP address or hostname of a remote system

IOS-XE17.6.4#ssh -c 3des -l CiscoAdmin IOS15_0_2.legacy.com
Password: 
IOS15_0_2.legacy.com> Enable
IOS15_0_2.legacy.com#

Hope this helps

BR

Alfred

Review Cisco Networking for a $25 gift card