Socket
Socket
Sign inDemoInstall

node-ssh

Package Overview
Dependencies
9
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous134567Next

12.0.0

Diff

Changelog

Source

12.0.0

  • Upgrade ssh2 to v1.1.0
  • Upgrade all dev dependencies
  • Minimum required version of Node.js is now v10
  • Add support for Readable stream in options.stdin in exec
steelbrain
published 11.1.1 •

Changelog

Source

11.1.1

  • Minor doc fixup. #340 (Thanks @smali-kazmi)
  • Automatically close stdin for executed programs even when no stdin is provided. #341 (Thanks @wmertens)
steelbrain
published 11.1.0 •

Changelog

Source

11.1.0

  • Add support for options in withShell and requestShell
steelbrain
published 11.0.0 •

Changelog

Source

11.0.0

  • Add ESM module exports for upcoming Node.js versions
  • BREAKING: Changed export to named, so it becomes const {NodeSSH} = require('node-ssh') and import {NodeSSH} from 'node-ssh'
  • Export Typescript types from package
  • Set default concurrency to 1 to ensure compatibility with wider array of servers
steelbrain
published 10.0.2 •

Changelog

Source

10.0.2

  • Prefer arrow callbacks - Fixes #304 (Thanks @ururk)
steelbrain
published 10.0.1 •

Changelog

Source

10.0.1

  • Fix unixification of paths in more places (Thanks @mbr4477)
steelbrain
published 10.0.0 •

Changelog

Source

10.0.0

  • Unixy all paths before passing onwards
  • Add isConnected method
steelbrain
published 9.0.0 •

Changelog

Source

9.0.0

  • Add support for Putty private key files
  • Add getDirectory method
  • Add onChannel support to execCommand
  • Rename options.options in execCommand to be options.execOptions
  • Rename options.sftpOptions to options.transferOptions in putFiles
  • Add withSFTP and withShell methods
  • Connection timed out error is now an instance of SSHError
  • Invalid argument errors are now AssertionError instances
  • onKeyboardInteractive default will only be set if a config.password is provided
steelbrain
published 8.0.0 •

Changelog

Source

8.0.0

  • Stop swallowing non-existent cwd errors in execCommand #272 (Thanks @dadamssg)
steelbrain
published 7.0.1 •

Changelog

Source

7.0.1

  • Do not include privateKey path in error message
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc