Summarizing an offline conversation I had with @lhellebr.
It’s packaged for RPM (rubygem-hammer_cli_foreman_ssh) and Debian (jammy & bookworm). Then in the installer it’s also exposed (foreman::cli::ssh). Removing it for Foreman 5.0 is a good opportunity.