Foreman throws this error when trying to start a job.
sh: line 1: /var/tmp/foreman-ssh-cmd-59b250c4-74c8-48e7-8f45-df5f60746f93/script: Permission denied
Exit status: 126
It suppose to run the job (ping google.com) and return an output.
Foreman and Proxy versions:
Foreman and Proxy plugin versions:
Foreman remote execution 1.6.7
Installed on CentOS 7.6
Can confirm it’s logging into the server - after that nothing is happening and it logs out:
Feb 10 04:49:42 testing sshd: Accepted publickey ssh2: RSA SHA256:
Feb 10 04:49:42 testing sshd: pam_unix(sshd:session): session opened for user root by (uid=0)
Feb 10 04:49:44 testing sshd: pam_unix(sshd:session): session closed for user root’