ssh2 icon indicating copy to clipboard operation
ssh2 copied to clipboard

SSH2 client and server modules written in pure JavaScript for node.js

Results 107 ssh2 issues
Sort by recently updated
recently updated
newest added

Hi, I am using `rollup` to bundle the source code which uses `ssh2`. However the tool complains that `ssh2` contains circular dependencies. Specifically, these files are relevant: https://github.com/mscdex/ssh2/blob/6b4c64ce5c16f488d90b87997aa0f19c871abe2f/lib/protocol/utils.js#L174 https://github.com/mscdex/ssh2/blob/6b4c64ce5c16f488d90b87997aa0f19c871abe2f/lib/protocol/handlers.js#L5 https://github.com/mscdex/ssh2/blob/6b4c64ce5c16f488d90b87997aa0f19c871abe2f/lib/protocol/kex.js#L1743...

Client.destroy() will only destroy the underlying socket if is writable. Being able to destroy the socket is important as it frees the file descriptor, otherwise node will hang on shutdown...

This is a request for expanding the `rmdir` function to allow for recursive deletion of a directory. Currently, `rmdir` accepts only [two parameters](https://github.com/mscdex/ssh2/blob/23bd66f723d2c72c007ed7a3b3afb9f50284bac4/lib/SFTPWrapper.js#L77): - `path` - `cb` To maintain backward...

feature request

Say the client fails to log in 3 times in a row and I want to block his IP. What's the correct way to do this and send the client...

feature request

Connection from an SSH client with Signed User Key Certificates in SSH_AGENT are not correctly handled and Authenticantion of user Fails PR #808 implements support for public keys and this...

I need my node.js app to connect to a target machine using a key signed by a certificate authority. When connecting from a terminal, the following 3 commands work: `eval...

Hello, Due to the coomon expectations of users (resulting from the coomon OpenSSH configuration), I propose to adjust the published example in order to ask for another form of authentication...

Allows to pass custom ident in client. To be used when integrating the library with tools that want to present their own identification e.g. tools version.

The [email protected] channel is not implemented on the server side. (i.e, If a server wants to forward/access the auth-agent, and push some key into) The server need to acknowledge the...

feature request

Hi, I am trying to upload a file into sftp server using ssh2 client. Location of the file on the server could be in a non existing directory. Current code...

feature request