-
Notifications
You must be signed in to change notification settings - Fork 14
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 by password failed #4
Comments
Are you trying to connect to a Mac server? The OS X SSH server is configured out of the box to reject password authentication, requiring instead interactive auth. SSHCore doesn't support interactive. If I recall correctly, you should be able to work around this problem by adding |
Hi lhagan, What is meant by server's ssh config,can u please elaborate on this,how can i make PasswordAuthentication to Yes Thanks for the quick reply. |
On the mac that you're trying to connect to, edit
to:
...then restart the ssh server. The simplest way to do this is to uncheck Remote Login in System Preferences > Sharing and then re-check it. |
Thanks Luke |
Hi,
i am unable to login to remote machine,
the code is giving Authentication by password failed.
Please help me out.
Following are the logs from the code
2014-09-15 17:54:51.621 SSHCore[2274:70b] Host check: 2, key:
2014-09-15 17:55:08.633 SSHCore[2274:70b] Authentication by password failed.
Thanks.
The text was updated successfully, but these errors were encountered: