Hammer-cli-foreman-ssh plugin has been created a very long time ago, pre-REX time, to support running ssh commands on hosts. It works like this:
- User runs
hammer host sshcommand - Hammer calls to Foreman for a host list
- Hammer initiates SSH connection to the hosts, from a local machine
That means proxy doesn’t make connection, a computer with Hammer does.
I believe this is directly against the philosophy of a Foreman/Proxy centric architecture of remote execution (as in REX plugin) and doesn’t make sense very much because the host running Hammer doesn’t even necessarily have connectivity to the hosts it tries to run commands on.
The plugin is not used in Satellite, has had the last functional commit at the beginning of 2015, and I am not aware of it being used by anyone in the community.
I am planning to archive the plugin unless someone objects soon. Is someone against it?