Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-red-contrib-ssh-coco

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-ssh-coco

A Node-RED node for running remote ssh commands and supports reconnection attempts. Based on https://github.com/yroffin/node-red-contrib-ssh

  • 0.2.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
decreased by-46.15%
Maintainers
1
Weekly downloads
 
Created
Source

node-red-contrib-ssh-v2

Available on NPM as https://www.npmjs.com/package/node-red-contrib-ssh-coco
Based on node-red-contrib-ssh-coco to fix multiple issues with multiple ssh nodes and with processing multiple messages at the same time

Why?

I added this so I could turn on my linux HTPC via Alexa, triggering a WOL packet and then turn it off using SSH.
That's why SSH reconnection was important.

Changelog

  • fix multiple ssh nodes in one flow
  • fix processing of multiple messages at the same time
  • output of ssh node now contained the original message and the ssh session

Usage

Input: msg.payload has to contain the command.
Output: none

Configuration

  • Ssh: ssh key path (optional but recommended)
  • Hostname: address of the target SSH server
  • Name: name of the node
  • Username: username of the target SSH server
  • Password: password of the target SSH server (set this if not using ssh key)

To-Do (help wanted)

  1. Add feature to reuse hosts/accounts instead of having to re-add every time
  2. Add output so that other nodes can consume the result
  3. Add option to consume more information(e.g. hostname) from other node

Keywords

FAQs

Package last updated on 28 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc