How to create the core.remote for chatops! #5443
Replies: 2 comments
-
if you want use with ssh keys you need change "run {{cmd}} on {{username}}@{{hosts}}" |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
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
Beta Was this translation helpful? Give feedback.
All reactions