ssh-audit

Audits SSH server and client configuration for security best practices

brewmacoslinux
Try with needOr install directly
Source

About

SSH server & client auditing

Commands

ssh-audit

Examples

Audit an SSH server for security vulnerabilities and misconfigurations$ ssh-audit example.com
Audit SSH server on non-standard port with verbose output$ ssh-audit -p 2222 example.com -v
Audit local SSH client configuration and supported algorithms$ ssh-audit -c localhost