
WARNING: this policy is using deprecated features.  Future versions of ssh-audit may remove support for them.  Re-generating the policy file is perhaps the most straight-forward way of resolving this issue.  Manually converting the 'hostkey_size_*', 'cakey_size_*', and 'dh_modulus_size_*' directives into the new format is another option.


WARNING: this policy is using deprecated features.  Future versions of ssh-audit may remove support for them.  Re-generating the policy file is perhaps the most straight-forward way of resolving this issue.  Manually converting the 'hostkey_size_*', 'cakey_size_*', and 'dh_modulus_size_*' directives into the new format is another option.


WARNING: this policy is using deprecated features.  Future versions of ssh-audit may remove support for them.  Re-generating the policy file is perhaps the most straight-forward way of resolving this issue.  Manually converting the 'hostkey_size_*', 'cakey_size_*', and 'dh_modulus_size_*' directives into the new format is another option.

Host:   localhost:2222
Policy: Docker policy: test12 (version 1)
Result: [0;31m❌ Failed![0m
[0;33m
Errors:
  * Host key (rsa-sha2-256) sizes did not match.
    - Expected: 4096
    - Actual:   3072

  * Host key (rsa-sha2-512) sizes did not match.
    - Expected: 4096
    - Actual:   3072

  * Host key (ssh-rsa) sizes did not match.
    - Expected: 4096
    - Actual:   3072
[0m
