Comments on: How to enable Remote Execution (Run Job) option in Foreman / Katello Dashboard https://www.linuxtechi.com/remote-execution-job-option-foreman-dashboard/ Fri, 29 May 2020 05:28:23 +0000 hourly 1 By: Danie de Jager https://www.linuxtechi.com/remote-execution-job-option-foreman-dashboard/#comment-20443 Fri, 29 May 2020 05:28:23 +0000 http://www.linuxtechi.com/?p=5085#comment-20443 In reply to Danie de Jager.

I found that the configuration points to /var/lib/foreman-proxy/ssh/id_rsa_foreman_proxy rather than ~foreman-proxy/.ssh so I created a symlink
https://access.redhat.com/solutions/4282171

]]>
By: Anchal Jain https://www.linuxtechi.com/remote-execution-job-option-foreman-dashboard/#comment-20427 Thu, 28 May 2020 07:16:02 +0000 http://www.linuxtechi.com/?p=5085#comment-20427 In reply to Danie de Jager.

I am also facing the same error. If I try login from CLI, it works.
sudo -u foreman-proxy ssh -i ~foreman-proxy/.ssh/id_rsa_foreman_proxy root@x.x.x.x
However, interface gives the same error Net::SSH::AuthenticationFailed – Authentication failed for user root@x.x.x.x

Please suggest. Using Foreman 2.0

]]>
By: Danie de Jager https://www.linuxtechi.com/remote-execution-job-option-foreman-dashboard/#comment-20397 Mon, 25 May 2020 20:40:34 +0000 http://www.linuxtechi.com/?p=5085#comment-20397 This is one of few articles covering the subject. For some reason when I run the command to execute I immediately get the error:

Error initializing command: Net::SSH::AuthenticationFailed – Authentication failed for user root@

My interface is version 2.0 though.

]]>
By: Ipslorem https://www.linuxtechi.com/remote-execution-job-option-foreman-dashboard/#comment-20388 Mon, 25 May 2020 11:10:35 +0000 http://www.linuxtechi.com/?p=5085#comment-20388 You can set : PermitRootLogin without-password in /etc/ssh/sshd_config. This will allow root login only with key

]]>
By: Arvind GK https://www.linuxtechi.com/remote-execution-job-option-foreman-dashboard/#comment-4692 Wed, 30 May 2018 11:06:46 +0000 http://www.linuxtechi.com/?p=5085#comment-4692 Did you try role based access control (RBAC), you can assign execution rights for that particular application

]]>
By: Kumar https://www.linuxtechi.com/remote-execution-job-option-foreman-dashboard/#comment-3772 Tue, 20 Mar 2018 23:01:40 +0000 http://www.linuxtechi.com/?p=5085#comment-3772 This works for me but the problem is I have to enable PermitrootLogin should be “Yes” otherwise the remote execution will not work. Any solution to change the user from root to some other user?

]]>
By: moonie https://www.linuxtechi.com/remote-execution-job-option-foreman-dashboard/#comment-917 Wed, 21 Jun 2017 13:44:36 +0000 http://www.linuxtechi.com/?p=5085#comment-917 So you are suggesting using keys with no passphrase? My company does not allow this, how can this be accomplished using a passphrase

]]>