-
Notifications
You must be signed in to change notification settings - Fork 75
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
Authenticating with Public/Private key #24
Comments
I'm trying the following:
But I get this response:
The username and keys are hardcoded and work fine using vanilla NSSH (but I can't get that shell to work). There is however no password, just an empty string. Could that create this issue? |
Strangely, this code actually does work. But only 1 out of 3 times. No idea why as I'm unsure how to debug. |
I had a similar issue which was caused by a very short timeout creating the connection. See PR #28. |
Not really an issue I guess, more an open question:
I'm trying to open a shell with an RSA key, but I can't quite follow the code to see how that's done. Am I right in believing I should be using the authorise() method? The challenge seems to accept public/private keys, but I can't figure out how.
The text was updated successfully, but these errors were encountered: