Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kadasz/skill-ssh
- Owner: kadasz
- License: mit
- Created: 2020-07-16T13:51:05.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-20T07:42:23.000Z (about 1 year ago)
- Last Synced: 2024-11-09T07:16:20.354Z (2 months ago)
- Topics: chatops, devops, opsdroid
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 uptimeopsdroid: qnap - 08:19:35 up 425 days, 1:02, 2 users, load average: 0.03, 0.11, 0.05
```