1.2.3 • Published 2 years ago

lhssh v1.2.3

Weekly downloads
4
License
ISC
Repository
github
Last release
2 years ago

lhssh

A Simple Promise Wrapper for [SSH2].

Requirements

Installation

npm i lhssh

Usage Examples

Execute uptime on a server

const LHSSH = require("lhssh");
const ssh = new LHSSH({
  host: '192.168.100.100',
  port: 22,
  username: 'teste',
  password: 'teste'
});

ssh.exec("uptime").then( ({ stdout, stderr, code, signal }) => {
  console.log("Uptime:", stdout);
}).catch( error => {
  console.log("Erro on Executing Uptime:", error);
});
1.2.3

2 years ago

1.2.0

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

4 years ago

1.0.1

5 years ago

1.0.0

5 years ago