Open satellite-no opened 2 years ago
Try to use the full path for ssh_config_file_path
instead of ~
ssh_config_file_path = /home/stanley/.ssh/config
That partially worked.. It appears to work except for the hostname. Meaning it works as long as I have salt
in the hosts file otherwise it still says "no address found".
Host *
User centos
CertificateFile ~/.ssh/id_rsa-cert.pub
IdentityFile ~/.ssh/id_rsa
Host salt
HostName 172.16.0.146
@paky92, I have attempted reloading configs, restarting as documented using sudo service st2actionrunner restart
, and restarting with st2ctl restart
.
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically marking is as stale. If this issue is not relevant or applicable anymore (problem has been fixed in a new version or similar), please close the issue or let us know so we can close it. On the contrary, if the issue is still relevant, there is nothing you need to do, but if you have any additional details or context which would help us when working on this issue, please include it as a comment to this issue.
SUMMARY
using the core.remote module the /home/stanley/.ssh/config is being ignored. Not sure if I missed something.
STACKSTORM VERSION
OS, environment, install method
New install, a beginner using shell script to get it up and running.
Steps to reproduce the problem
Configured
/etc/st2/st2.conf
with the below per "ssh troubleshooting" guide.Expected Results
Remote cli execution success
Actual Results
It parses the config but then appears to ignore it.
Output from debug
/var/log/st2/st2actionrunner.236327.log
Thanks!