-
Notifications
You must be signed in to change notification settings - Fork 96
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
how to get Private Key #209
Comments
I have the same problem |
I will have to look into getting this setup myself. |
Didn't @onewheelonly add the support for SSH private keys? Perhaps he could weigh in on this one. |
I did indeed. I've never seen this message before though. I assume it comes from the ssh2 library that we use, but a quick Google for that text didn't turn up any results. @prachaya2639 and/or @EduardoMaro - Can you please tell me a little about your private keys? What algorithm/key size do you use? And when you look at the text within the private key file, can you tell me what the first line looks like please? |
FWIW The code that is producing this error is here: https://github.com/mscdex/ssh2-streams/blob/8de25ea69a76dbf1c34e578e42571e97de926ac0/lib/ssh.js It occurs when the SSH protocol identification is too long (> 255 characters) The identification string should look something like I would suggest trying to connect to the same box using an SSH client like PuTTY or KiTTY and if you can connect you will see a line in the event log something like: We Claim version: SSH-2.0-PuTTY-KiTTY You could also try connecting directly using the SSH2 module and seeing if that works: Method is here #125 (comment) You should see domething like: Local ident: 'SSH-2.0-ssh2js1.4.0' Let us know if either of these methods work and what both of the identification strings look like |
I don't know to get a Private Key path
Thank you.
The text was updated successfully, but these errors were encountered: