Unable to install remote ssh execution proxy plugin

Problem: ERROR: Unrecognised option ‘–enable-foreman-proxy-plugin-remote-execution-ssh’

Expected outcome: Option to be available and install for remoted ssh execution

Foreman and Proxy versions: Foreman 3.3, foreman-proxy 3.3.0

Distribution and version: RockyLinux 8.6

Other relevant data:
When running the install options to install as detailed at Introduction to the Remote Execution Plugin the installer fails with
ERROR: Unrecognised option ‘–enable-foreman-proxy-plugin-remote-execution-ssh’

I might be just missing something again but everything I can find to resolve the remote execution error I get points towards this missing plugin I can not install.
The error I receive when attempting a remote execution is

Failed to initialize: RuntimeError - Could not use any proxy for the [“SSH”, “Script”] job. Consider configuring remote_execution_global_proxy, remote_execution_fallback_proxy in settings

I’m looking for verification the error is due to the plugin not being installed and if so how to install the plugin or point me in the right direction to run remote scripts.

Thanks!

See Foreman Remote Execution Plugin Documentation

2 Likes

Thanks! I missed that post

--enable-foreman-proxy-plugin-remote-execution-ssh
should now say
--enable-foreman-proxy-plugin-remote-execution-script

1 Like

Thank you ellis, perhaps I miss something in the updated documents,

Tank you gvde for showing us the solution.

This solution works fine on Debian Bullseye running Foreman latest version.

Thank you Balves7 for the confirmation on Debian, I tested mine in RHEL 8.6 using Foreman 3.3 and is working good as well.

Thanks!!