ssh2
ssh2 copied to clipboard
SSH2 client and server modules written in pure JavaScript for node.js
Hello, i just want to use the exists method of the SFTPWrapper which has the following definition: `exists(path: string, callback: (hasError: boolean) => void): void;` and i noticed that hasError...
This PR addresses thread-safety issues in the native bindings of the library. It replaces `Nan::Persistent` with `v8::Eternal` for constructor storage in cipher and decipher classes. The previous implementation using `Nan::Persistent`...
This relates to and closes this issue: https://github.com/mscdex/ssh2/issues/1433 I basically saw how this was implemented in the exec() method in `client.js` and did a similar implementation. I seems that it...
The server returned a empty prompt, but I wanted to get the instructions and show them. I noticed that the prompts in the code were returned directly for empty prompts...
I tried passing the variable via SSH, as suggested in some other issues, like here: https://github.com/mscdex/ssh2/issues/1337 But, actually my SFTP server accepts only "sftp" commands and "ssh" is restricted, so...
I'm using a lightly modified version of the SFTP server example in the readme, along with the `REALPATH` logic from the SFTP example in the `examples` directory of this repo...
Add ecdsa-sha2-nistp(256|384|521)[email protected] for client through SSH_AGENT It is work in case from #910 and #858 I test on my server like this: ``` const { Client } = require('ssh2'); const...
I am implementing a server, and logging data arriving from a stream after a call to ``` // Create a stream for Git Smart Protocol communication const stream: ssh2.ServerChannel =...
Hi All, We are trying to connect with a server which fails after sending the below request (Authentication succeeds but fails in hostkeysprove) `Outbound: Sending GLOBAL_REQUEST ([email protected])` Tried disabling "strictVendor"...
Error: connect EHOSTUNREACH 192.168.21.34:22 - Local (192.168.21.58:49182) at internalConnect (node:net:953:16) at defaultTriggerAsyncIdScope (node:internal/async_hooks:465:18) at node:net:1044:9 at processTicksAndRejections (node:internal/process/task_queues:78:11) { errno: -65, code: 'EHOSTUNREACH', syscall: 'connect', address: '192.168.21.34', port: 22, level:...