-
Notifications
You must be signed in to change notification settings - Fork 49
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
Authentication Failed using Private Key,Public Key #145
Comments
Can you show me the complete code for how you configure your client? |
Here is my code.
|
Without knowing the |
We are using this file please check |
Your code appears to be using libssh2. Unfortunately, I can't provide support for libssh2 here, as this repository is unrelated. libssh2 has its own issue tracker, so you'll need to ask for support over there. |
@Lukasa We already generate issue but not provide any solution.I think this library also used LibSSH2 because without that how can we connect server. |
swift-nio-ssh does not use libssh2, it is a ground-up reimplementation of the SSH wire protocol. |
NMSSHSession and swift-nio-ssh are entirely unrelated. swift-nio-ssh and libssh2 are entirely unrelated. I cannot support you with issues with libssh2. |
@Lukasa So if we are use this library than it will support ssh authenticate using private key? |
Yes, swift-nio-ssh supports SSH private key authentication. |
No, NMSSHSession and swift-nio-ssh are unrelated. You would use entirely different API calls. |
@Lukasa if possible can you please provide link or demo ? |
There is an example in this repository. Alternatively, you could investigate Citadel. |
Hello
We are trying to connect our Mac and aws servers using the private key. but every time we got authentication failed.
Also, we have checked both keys on another application and it's working fine.so I think the problem is in the library. can you please help?
using this method
but not working can you please help us
The text was updated successfully, but these errors were encountered: