New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-ssh-shell

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-ssh-shell

node ssh shell

latest
Source
npmnpm
Version
0.1.4
Version published
Maintainers
1
Created
Source

node-ssh-shell

基于ssh2实现,ssh登陆远程server,命令行shell模式

jump-server 基于node实现的跳板机

Usage

更多参数请参考ssh2.Client.connect: Options

const ssh = require('node-ssh-shell')

ssh({
    host: '192.168.100.1',
    port: 22,
    username: 'nodejs',
    password: 'rules',
    privateKey: require('fs').readFileSync('/here/is/my/key'),
    passphrase: 123,
    readyTimeout: 5000
})

Keywords

node-ssh-shell

FAQs

Package last updated on 16 Oct 2019

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