4.7.2 • Published 7 months ago

qiao-ssh v4.7.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

qiao-ssh

npm version npm downloads

nodejs ssh tool

install

安装

npm i qiao-ssh

use

使用

// cjs
const { sshCMD } = require('qiao-ssh');

// mjs
import { sshCMD } from 'qiao-ssh';

api

sshCMD

连接服务器,并执行命令

  • options
    • 类型: object
    • 说明: host, port, username, password
  • cmd
    • 类型: string
    • 说明: 执行命令
  • return
    • 类型: string
    • 说明: 结果
await sshCMD(options, cmd);
4.7.2

7 months ago

4.7.1

7 months ago

4.6.2

12 months ago

4.6.1

1 year ago

4.6.0

1 year ago

4.5.9

1 year ago

4.5.8

1 year ago