Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
1. Proposed title of this feature request
Remote job should allow ssh as non-root@<target.system>
When executing remote command from Satellite, non-root user should be allowed to ssh to the system.
2. Who is the customer behind the request?
Name Rhodix Dispatch
Account: Koninklijke Bibliotheek
TAM customer: No
Strategic: No
3. What is the nature and description of the request?
The remote job does the ssh as root@<target.system>, which is not acceptable.
How can customer change the user which performs the SSH?
4 How would the customer like to achieve this? (List the functional requirements here)
Customer would like to run remote execution using ssh for non root user.
6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.
1. From Satellite, copy the foreman 'id_rsa_foreman_proxy.pub'
ssh-copy-id -i ~foreman-proxy/.ssh/id_rsa_foreman_proxy.pub non-root.com
2. Go to Host > All Host
3. Select Host you want to execute remote job
4. click on "Run Job"
5. Select the command you want to execute, select effective user (non-root)
7. Is there already an existing RFE upstream or in Red Hat Bugzilla?
NO
8. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?
No
9. Is the sales team involved in this request and do they have any additional input?
No
10. List any affected packages or components.
Remote Execution
11. Would the customer be able to assist in testing this functionality if implemented?
Yes
12. Actual results:
1: Error initializing command #
2: Net::SSH::AuthenticationFailed Authentication failed for user root.9.193
3: Exit status: EXCEPTION
13. Expected results:
Non root user should be able to ssh to the system
This is exactly what remote_execution_ssh_user does, right? You can that at the global level through Settings -> RemoteExecution, or as a host parameter.
1. Proposed title of this feature request Remote job should allow ssh as non-root@<target.system> When executing remote command from Satellite, non-root user should be allowed to ssh to the system. 2. Who is the customer behind the request? Name Rhodix Dispatch Account: Koninklijke Bibliotheek TAM customer: No Strategic: No 3. What is the nature and description of the request? The remote job does the ssh as root@<target.system>, which is not acceptable. How can customer change the user which performs the SSH? 4 How would the customer like to achieve this? (List the functional requirements here) Customer would like to run remote execution using ssh for non root user. 6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented. 1. From Satellite, copy the foreman 'id_rsa_foreman_proxy.pub' ssh-copy-id -i ~foreman-proxy/.ssh/id_rsa_foreman_proxy.pub non-root.com 2. Go to Host > All Host 3. Select Host you want to execute remote job 4. click on "Run Job" 5. Select the command you want to execute, select effective user (non-root) 7. Is there already an existing RFE upstream or in Red Hat Bugzilla? NO 8. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)? No 9. Is the sales team involved in this request and do they have any additional input? No 10. List any affected packages or components. Remote Execution 11. Would the customer be able to assist in testing this functionality if implemented? Yes 12. Actual results: 1: Error initializing command # 2: Net::SSH::AuthenticationFailed Authentication failed for user root.9.193 3: Exit status: EXCEPTION 13. Expected results: Non root user should be able to ssh to the system