Closed wcarhart closed 1 year ago
Can also confirm that the ext_info branch works for me locally.
@jmichiel I'm not able to reproduce the issue using OpenSSH 8.8p1 for the server and the current ext_info
branch of ssh2
.
Are you sure you're using the right branch? If so, is it possible you could share the OpenSSH 8.8p1 server config that causes the ext_branch
to fail?
@mscdex Strange, I'll investigate further!
EDIT: The config we're using looks like this:
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_ed25519_key
HostKey /etc/ssh/ssh_host_ecdsa_key
PermitRootLogin without-password
PasswordAuthentication no
Subsystem sftp /usr/libexec/sftp-server
Seems like I'm still on the master branch, despite having "ssh2": "github:mscdex/ssh2#ext_info",
in my package.json and doing a rebuild. Webpack throwing a tantrum?
npm can be b**.. when having git repositories as dependencies, rm -rf node_modules and package-lock.json and npm install again.
It works ! Thank you
@jmichiel That's basically the same server configuration I was testing with. Are you saying that it's working for you now after ensuring the correct branch was being pulled in?
@mscdex : No, didn't get that far: after deleting package-lock.json I got into dependency hell and haven't solved it yet. Will be for monday...
So I finally got out of dependency hell and I can now confirm that the ext_info
branch works for me now!
I am try to connect to a DigitalOcean droplet with ssh2.
Here's my code:
ssh2 fails with the following log:
And here's what
ssh -vvv root@xxx.xxx.xxx.xxx echo hello
shows me:Is there another argument in
connect()
that I need to include?