-
Notifications
You must be signed in to change notification settings - Fork 97
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
Key mismatch #153
Comments
Hi @mdcclxv, The Can you check if your |
No no, you got that wrong, the REMOTE_MYSQL_IP is the destination of the tunnel, the key is used for authorizing on the Linux box when connecting via SSH. I have no entries for that in knownhosts. And no duplicates for the REMOTE_LINUX_BOX_IP. If that was the case then PuTTY and PhpStorm should be failing too. |
My bad, I meant multiple entries for |
You replied while I was editing the previous answer :) |
But did you find an entry for it? Can you try with |
Yes, there is one entry. I tried with --insecure, this is what I got: I also tried with the CMD window running as Administrator, same error. |
Nevermind, my local copy of MySQL 5.7 was listening on 0.0.0.0:3306 although I configured it to only listen on 10.1.1.11. It seems that I hit a bug in MySQL. It's working with --insecure. So, what's the next step? That --insecure option is making me uneasy, what's the risk? |
Hi there,
I'm trying to open a SSH tunnel on a production server using the following command line:
mole start local --verbose --source 10.1.1.12:3306 --destination REMOTE_MYSQL_IP:3306 --server user@REMOTE_LINUX_BOX_IP:22 --key <path_to\private_key>
and I get the following error:
ssh: handshake failed: knownhosts: key mismatch
The ssh config file being used is the right one, in my profile:
using ssh config file from: C:\\Users\\Katy\\.ssh\\config
I have PuTTY and PhpStorm connecting successfully, with the same tunnel working under PuTTY, so it's definitely NOT a key mismatch.
Any ideas?
Thanks.
The text was updated successfully, but these errors were encountered: