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

…nt information. There is a scenario where some SSH servers return an ident of 'SSH-2.0-' which leads to the throwing of an 'Invalid identification string' exception. This commit addresses compatibility...

After upgrading to node18, our SSH connections from windows started failing and I determined that the failure was caused by git-for-windows' ssh-agent listening on the ipv4 loopback address while ssh2...

(see mscdex/ssh2-streams#137) This is to support SSH certificates. As before the privateKey will be used for the publicKey (i.e. the derived publicKey) if nothing is given. The given publicKey is...

Hello there, Is there a way to forward the publicKey to other ssh server ? Something like that ? ``` client.on('authentication', (ctx) => { else if(ctx.method == 'publickey'){ connect({ username...

feature request

Node version: v14.19.1 OS: MacOS 12.1 ssh2-sftp-client: 8.0.0 **Issue**: We were seeing files being corrupted when using `fastGet`. **Resolution**: We needed to adjust the chunkSize specific to the sftp server...

In OpenSSH one can use a CA-signed key and certificate pair to sign-in to an SSH server with CA authentication turned on. The server sets a public certificate as the...

feature request

There is an old switch I can ssh by MobaXterm or ssh client in Windows. But when I use ssh2 lib to connect, below error occurs: ``` node:events:368 throw er;...

compatibility

I used this simple code to establish an ssh connection: ```javascript ssh.connect(sshOptions); await new Promise((resolve, reject) => { ssh.on('ready', resolve); ssh.on('error', reject); }); ``` I expect the connection to either...

feature request

My final goal is to be able to pipe a Session from a ssh2.Server Session to a ssh2.Client (once authenticated). That way I can pipe to multiple Client for example....

feature request

We have a server based on ssh2 and ssh2-streams package. During uploading files, we are pushing data to a readable stream which is consumed by some other method. Is there...

feature request