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

Hello, I'm writing an SSH Server which works similar to OpenSSH Server. I wanted to send disconnect event to client when it writes wrong password too many times. I find...

feature request

I have a SFTP server that hosts a ton of files. I need to list and filter by timestamp. Would be great if I could get a stream of files...

feature request

How can I tell if a client is disconnected (because end() was called or because the connection was dropped by the server or was lost for some other reason)?

feature request

I'm trying to create a node js server using `ssh2`. I've took one of the server examples and modified it. After a successful connection through regular Ubuntu `ssh` client towards...

question

[If this is already possible, I have been unable to figure out how] When using the SSH Client, if the server responds with authentication methods that include "password", but not...

question

Hi, I am experiencing an issue when trying to connect to a device using the `ssh2` package in my Node.js (client) application. The device is behind a Cloudflare Zero Trust...

question

Hi. First off, thanks for your work on this library. I'm seeing an issue where `generateKeyPairSync` can produce key pairs where either the private or public key cannot be successfully...

This could be related to [this issue](https://github.com/mscdex/ssh2/issues/219), but it for sure still happens and I can repro 100% that it is a third of any `readFile` or `readdir` calls that...

This will reduce your node_modules on-disk footprint from 1.8M to 884K, and your package size from 256K to 142K. Cheers ;) ``` $ du -h node_modules/ssh2/ 20.0K node_modules/ssh2/examples 352.0K node_modules/ssh2/test/fixtures/keyParser...

connecting [xxxxxxxxxxxxxxxxxxxxxxxxx] ... CLIENT[sftp]: connect: Debugging turned on CLIENT[sftp]: ssh2-sftp-client Version: 10.0.3 { "node": "18.16.0", "acorn": "8.8.2", "ada": "1.0.4", "ares": "1.19.0", "brotli": "1.0.9", "cldr": "42.0", "icu": "72.1", "llhttp": "6.0.10", "modules":...

question