Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server fails with Handshake failed: no matching host key format #1

Open
zaverden opened this issue Nov 12, 2021 · 0 comments
Open

Server fails with Handshake failed: no matching host key format #1

zaverden opened this issue Nov 12, 2021 · 0 comments

Comments

@zaverden
Copy link
Contributor

node:events:368
      throw er; // Unhandled 'error' event
      ^

Error: Handshake failed: no matching host key format
    at makeError (/app/node_modules/ssh2/lib/protocol/utils.js:142:15)
    at doFatalError (/app/node_modules/ssh2/lib/protocol/utils.js:184:13)
    at handleKexInit (/app/node_modules/ssh2/lib/protocol/kex.js:274:12)
    at Protocol.onKEXPayload (/app/node_modules/ssh2/lib/protocol/kex.js:1755:14)
    at NullDecipher.decrypt (/app/node_modules/ssh2/lib/protocol/crypto.js:617:26)
    at Protocol.parsePacket [as _parse] (/app/node_modules/ssh2/lib/protocol/Protocol.js:1993:25)
    at Protocol.parse (/app/node_modules/ssh2/lib/protocol/Protocol.js:292:16)
    at Socket.<anonymous> (/app/node_modules/ssh2/lib/server.js:1203:17)
    at Socket.emit (node:events:390:28)
    at addChunk (node:internal/streams/readable:315:12)
Emitted 'error' event on Client instance at:
    at Socket.<anonymous> (/app/node_modules/ssh2/lib/server.js:1205:16)
    at Socket.emit (node:events:390:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at Socket.Readable.push (node:internal/streams/readable:228:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:199:23) {
  level: 'handshake',
  fatal: true
}
zaverden added a commit that referenced this issue Nov 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant