Socket
Socket
Sign inDemoInstall

node-ssh

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-ssh - npm Package Compare versions

Comparing version 7.0.0 to 7.0.1

4

CHANGELOG.md

@@ -0,1 +1,5 @@

#### 7.0.1
* Do not include privateKey path in error message
#### 7.0.0

@@ -2,0 +6,0 @@

2

lib/helpers.js

@@ -121,3 +121,3 @@ "use strict";

if (error.code === 'ENOENT') {
throw new Error(`config.privateKey does not exist at ${privateKey}`);
throw new Error(`config.privateKey does not exist at given fs path`);
}

@@ -124,0 +124,0 @@

{
"name": "node-ssh",
"version": "7.0.0",
"version": "7.0.1",
"description": "SS2 with Promises",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -28,3 +28,3 @@ Node-SSH - SSH2 with Promises

username: 'steel',
privateKey: fs.readFileSync('/home/steel/.ssh/id_rsa')
privateKey: fs.readFileSync('/home/steel/.ssh/id_rsa', 'utf8')
})

@@ -31,0 +31,0 @@ if you want to use the raw string as private key

Sorry, the diff of this file is not supported yet

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