-
Notifications
You must be signed in to change notification settings - Fork 665
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
All configured authentication methods failed #604
Comments
Are you sure the server in question utilizes the password auth mechanism and not keyboard-interactive mode for password input? If you're not sure, then try adding |
@mscdex i have tried with adding
still, giving same error. please share if i'm missing something! |
At that point, if neither of those work, then either the username or password are wrong or the server uses some other method for authentication (e.g. key-based auth, etc.) |
Found out that the issue lies in my server outgoing sftp configuration, while i tried to access the sftp from terminal got the error as:
Wondering, why can't ssh2 module log this particular error. |
/etc/ssh/ssh_config is for the OpenSSH client. |
may be you should check the target host ssh config. |
I solved using
|
Here the bullet proofed code snippet:
Thanks @shishir99111 & @mscdex |
I'm using this configuration:
giving error:
I'm using the password based authentication rather than private key auth. Its not working in Linux server with this error. While, It is working when im trying in my MAC OS local machine
Please help
The text was updated successfully, but these errors were encountered: