Skip to content
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

"SSH Error: All configured authentication methods failed" when connecting via SSH tunnel #13

Closed
Egoscio-zz opened this issue Feb 1, 2016 · 5 comments

Comments

@Egoscio-zz
Copy link

Hello,

I'm trying to connect to my remote Redis DB via the tunneling option, but I keep encountering this error: "SSH Error: All configured authentication methods failed".
I can confirm that my configuration is correct, as I just tried connecting to my database via ssh and redis-cli. I was even able to connect to it via Medis without tunneling. Any idea how I can troubleshoot this?

Thanks,

  • Egoscio
@luin
Copy link
Owner

luin commented Feb 1, 2016

It's either because the SSH password you provided is wrong, or the SSH private key you provided is invalid. Notice that Medis won't look for the default SSH private key path (~/.ssh), so you have to specified one explicitly.

Here's an example:

image

@Egoscio-zz
Copy link
Author

That's strange. I provided it with the password (I personally don't use keys that much), which functions correctly whenever I connect via SSH on my Terminal. I even tried to reconnect at least 5 times but it still doesn't work. What's even weirder is that the release I downloaded from your prebuilt page doesn't look like the screenshot you posted above.
screen shot 2016-01-31 at 7 48 22 pm
(Notice that there is no SSH Key or SSH Key Passphrase, instead there is a SSH Password)

@luin
Copy link
Owner

luin commented Feb 1, 2016

Well, I just confirmed it's a bug that Medis currently only supports login with SSH key instead of SSH password. Looks like people all use ssh keys to login to their servers 😿

BTW, "SSH Key" will show when you click the "key" button on the right side of the "SSH Password" row.

I'll release a new version later today.

@Egoscio-zz
Copy link
Author

Thank you! Other than that, I'm in love with Medis :)

@luin luin closed this as completed in 4dfdbcd Feb 1, 2016
@kortemy
Copy link

kortemy commented Nov 11, 2019

Sorry to necro this issue, but I am having a similar problem.

When I press the key icon and select my key, the field doesn't change to "SSH key", it stays "SSH password" and is empty. Connection fails.

This is using latest version (1.0.3-1) on Arch Linux, installed via AUR package.

luin added a commit that referenced this issue Mar 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants