ssh2
ssh2 copied to clipboard
SSH2 client and server modules written in pure JavaScript for node.js
return `this` from `SFTP.end()` and `SFTP.destroy()` to make the API more consistent with native streams.
This PR fixes the later issue in https://github.com/mscdex/ssh2/issues/1162
If client.destroy() is called, always destroy the underlying socket so that file descriptor is freed. This matches behavior of node's Socket and Writable. Previous behavior made this conditional on writability...
I ran into #1029 . The workaround in that issue works for most clients but fails with PuTTY scp (`pscp`). Looking into it further, it seems that these clients send...
We use the SSH client as a way to authenticate users to a web server The users are on a remote machine. This is similar to keyboard-interactive, but for passwords...
When using an SFTP writable stream with `autoClose = false`, errors during the writing process are relayed to the error listeners as they are reported via callback from `WriteStream.prototype._write`. When...
See https://github.com/mscdex/ssh2/issues/836 for more info
When running in an Electron `asar` file, `spawn` is unable to resolve the packed exe files. [Electron builder](https://electron.build) automatically unpacks exe files for us, so all we need to do...
RFC 4252, which covers ssh authentication, allows clients to respond to request the auth method 'none', to which the server should respond with a list of allowed methods. In particular,...
The `[email protected]` channel is not implemented on the server side. The server need to acknowledge the request by opening a channel (see [openssh source code](https://github.com/openssh/openssh-portable/blob/885bc114692046d55e2a170b932bdc0092fa3456/session.c#L226) ) Again, this is an...