How to create the core.remote for chatops! #5443
Unanswered
BathiniRavi
asked this question in
ChatOps
Replies: 2 comments
|
if you want use with ssh keys you need change "run {{cmd}} on {{username}}@{{hosts}}" |
0 replies
|
From a security point of view, posting passwords as cleartext into a chat service will leak the password in chat history and possibly through logging by the bot/stackstorm/chat provider. Exposing |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I need to add sudo credentials in that file but not sure how to add that or is there any core.remote_sudo file at chatops level ?
+++++++++++++++++++++++++++++++
packs/my-chatops/aliases/remote.yaml
name: "remote_shell_cmd"
action_ref: "core.remote"
description: "Execute a command on a remote host via SSH."
formats:
PS - I'm running Stackstorm as Docker container.
Also the above sample is not working in my case, maybe my configs are wrong !
Below is the output from my Bot -
!help response from bot
]
command response from bot
)
(
configs from container

All reactions