Difference between revisions of "Openssh client: Invalid key length"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
Error message from [[Openssh]] client when connecting to a [[Cisco]] router/switch:
 +
  [[ssh_dispatch_run_fatal]]: Connection to 10.10.10.4 port 22: [[Invalid key length]]
 +
Solution, execute in [[Cisco IOS]]:
 +
[[crypto key zeroize rsa‎‎]]
 +
[[crypto key generate rsa modulus 2048]]
  
  
  ssh_dispatch_run_fatal: Connection to 10.10.10.4 port 22: [[Invalid key length]]
 
  
 +
[[OpenSSH 7.6]] (October 2017)
 +
* Refuse [[keys length]] <1024 bits in length and improve reporting for keys that do not meet this requirement.
  
A keys <1024 bits in length and improve reporting for keys that do not meet this requirement.
 
  
 +
== Related terms ==
 +
* <code>[[Crypto key zeroize rsa‎‎]]</code>
  
 
== See also ==
 
== See also ==
Line 11: Line 18:
  
 
[[Category:ssh]]
 
[[Category:ssh]]
 +
[[Category:IOS]]

Latest revision as of 06:12, 18 September 2021

Error message from Openssh client when connecting to a Cisco router/switch:

 ssh_dispatch_run_fatal: Connection to 10.10.10.4 port 22: Invalid key length

Solution, execute in Cisco IOS:

crypto key zeroize rsa‎‎
crypto key generate rsa modulus 2048


OpenSSH 7.6 (October 2017)

  • Refuse keys length <1024 bits in length and improve reporting for keys that do not meet this requirement.


Related terms[edit]

See also[edit]

Advertising: