SSH
Run a command remotedly using SSH
Description
SSH integration gives you ability to run a command on a remove SSH server.
Installation
To integrate with SSH, you need to provide the address of the ssh server (username/password) or ssh key.You can also specify if server key verification should be skipped. Note that you should do it only if you trust that there is no man in the middle attack possible between the maira agent and the server you are connecting to. Otherwise, please provide server key in known_hosts file.
Helm Config
Below is sample configuration for enabling SSH integration through Helm Chart Values file
ssh:
disabled: false
servers:
- name: host1
address: "host1.maira.io"
username: root
password: password
- disabled tag can be set to true to temporarily disable the service without removing the config
Direct Config
Below is an example maira gateway config to enable SSH integration using username/password.
modules:
- name: maira_io.module.ssh
services:
- name: maira_io.service.ssh
typed_config:
"@type": types.google.com/clutch.config.service.ssh.v1.Config
servers:
- name: host1
address: "host1.maira.io"
username: root
password: password
Below is an example maira gateway config to enable SSH integration using ssh key/passphrase.