Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kadasz/skill-ssh

A skill for opsdroid to run command on remote servers via ssh
https://github.com/kadasz/skill-ssh

chatops devops opsdroid

Last synced: 5 days ago
JSON representation

A skill for opsdroid to run command on remote servers via ssh

Awesome Lists containing this project

README

        

# opsdroid skill ssh

A skill interact with Linux servers by ssh commands

## Requirements
- `paramiko 2.7.1 or later`
- `SSH keys for authentication`

## Configuration

Install this skill in your opsdroid by adding the following lines to your `configuration.yaml`:

```yaml
skills:
...
ssh:
path: /opt/opsdroid-skills/ssh/__init__.py
user: 'admin'
port: 22
key: '/opt/opsdroid-skills/ssh/sshtask.key'
```

## Usage

### run on \ \

Execute command on the remote server

```
user: run on qnap uptime

opsdroid: qnap - 08:19:35 up 425 days, 1:02, 2 users, load average: 0.03, 0.11, 0.05
```