Skip to content

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

License

Notifications You must be signed in to change notification settings

kadasz/skill-ssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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:

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

Usage

run on <hostname> <command>

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages