-
Notifications
You must be signed in to change notification settings - Fork 546
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
Sequel Pro SSH tunnel #38
Comments
I'm not sure if you have a typo, but the MySQL hostname should be You have |
Yeah, it was just a typo :) Jamie Fishback This e-mail message is for the sole use of the intended recipient(s) and On Mon, Feb 16, 2015 at 6:28 PM, Jason Jones notifications@github.com
|
So, are we good to to close this? |
I think we're good to go. |
No, it was a typo on github not on sequel pro Jamie Fishback This e-mail message is for the sole use of the intended recipient(s) and On Tue, Feb 17, 2015 at 8:07 AM, Nicholas Cerminara <
|
The typo is in my bug report not in your documents. Jamie Fishback This e-mail message is for the sole use of the intended recipient(s) and On Tue, Feb 17, 2015 at 8:27 AM, Jason Jones notifications@github.com
|
I've selected the private key generated by vagrant, the connection works for me. EDIT: user / password combination works as well. |
It could also be a network / firewall issue. |
I'm getting this error as well. "SSH connection failed, The SSH tunnel has unexpectedly closed." Settings are correct. I can connect to my other vagrant boxes just fine through Sequel Pro SSH forwarding. The final two lines in the Show Details message are "RSA host key for 192.168.33.10 has changed and you have requested strict checking. |
Why was this closed? |
Reopened. Are you still having problems? |
Yeah, the same issue as the original poster. I didn't see any solution in the thread other than using the vagrant key. Which is fine, but that would warrant an update to documentation, correct? Is that the recommended solution? If I'm understanding correctly, @sakanaproductions had a typo just in his bug report, but he actually has the correct values in Sequel Pro. I have triple checked my values as well, and host key verification is failing. See my comment at #38 (comment) Thanks! |
I'm going to close this, but use the key for now. |
I have the same issue. Where can I find the vagrant key? |
Type: |
Thank you! This worked for me:
|
I have this problem. I've tried using the vagrant_private_key file and it still gives the same error. I've triple checked my settings and they are the same as the documentation. Here is the error message Used command: /usr/bin/ssh -v -N -o ControlMaster=no -o ExitOnForwardFailure=yes -o ConnectTimeout=10 -o NumberOfPasswordPrompts=3 -i /Users/matt/.vagrant.d/boxes/scotch-VAGRANTSLASH-box/2.0/virtualbox/vagrant_private_key -o TCPKeepAlive=no -o ServerAliveInterval=60 -o ServerAliveCountMax=1 -p 22 vagrant@192.168.33.10 -L 52259/127.0.0.1/3306 Bad local forwarding specification ' 52259/127.0.0.1/3306' |
For anyone still having this issue, the answer might be pretty straight forward, as it was for me... once I saw the magic clue. Host default
HostName 127.0.0.1
User vagrant
Port 2222
UserKnownHostsFile /dev/null
StrictHostKeyChecking no
PasswordAuthentication no
IdentityFile [snip]
IdentitiesOnly yes
LogLevel FATAL Port 2222! Set the SSH port to 2222 in Sequel Pro, and I'm in! Hope this helps! |
I had some strange formatting errors in my ssh 'known-hosts' file. Fixing these allowed me to ssh in without a problem. For those new to these issues, I recommend reading the 2.0 release announcement page here. |
Thanks @Brendonwbrown |
For me I needed to update the Sequel Pro client. This bug caused the issue: |
Agreed with @ablears, I was using an outdated version of SequelPro and after update, it worked like a charm. Hope this help others. |
Thanks to @ablears, updated the SequelPro and everything is fine again. |
I had to use 127.0.0.1 for the SSH Host. Is this normal? |
This is what worked for me: I had to delete the old line from known_hosts. You can safely delete the file:
Note: I ran |
Thank you @pendashteh , deleting the old line form known_hosts was the key for me. I'm in! |
Note that if you use SSH key pairs for other connections, you will be deleting all of your known hosts. I like to shorten my ssh host names, so this is not something I would want to do. The alternative is to open known_hosts in a text editor and see if any obvious issues pop out. |
Just got Scotch Pro and this is still happening. Within Sequel Pro (latest version etc) all I get is: SSH connection failed! With either password or vagrant insecure key. EDIT |
I'm still having this issue. Clean Vagrant install with ScotchBox Pro 3.0. Tried with password and with SSH key and getting the same errors others have been reporting: SSH connection failed! Any ideas on how to fix? |
Type Then just use the port forwarding settings |
This is what that command spits out: HostName 127.0.0.1 And here are my Sequel Pro settings: MySQL Host: 127.0.0.1 What should I change based on ssh-config? |
You on Mac or Windows? |
Mac |
El Cap |
Okay can you try SSH into the box first. No sequel pro
|
Password |
Didn't even prompt for a password. Here's what I got (same as the errors Sequel Pro gives, btw): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
Awesome. Getting there. Not a big deal. Just delete known_hosts
|
I checked my known_hosts file, but wasn't really sure what I was looking for. It was just a bunch of SSH keys for various servers and apps that I use, like Beanstalk, Github, etc... |
I think you'd be okay deleting it and just starting over |
ok, that worked. but did i just lose connection to all my other servers/apps? |
thanks for the help, btw. |
No you should be okay. Next time you SSH you'll just have to accept the connection again. Can you now SSH into Vagrant? How about Sequel Pro? |
Yes to both. Cool. Thanks for the help. |
Yep, no problem! |
I rather not delete the entire entry since I've established a lot of known hosts in the past. I remember there being some extra lines and formatting issues, which when cleaned up, allowed Vagrant to work. |
I'm on a Mac and I've tried all these individually and together:
I still get "The SSH Tunnel has unexpectedly closed." |
Don't do that Can you try with just user/password auth:
|
@whatnickcodes Sorry, yes I tried that first because it's in the documentation. |
I've started up scotch box without issue. But, when I go into sequel pro and try to get into the mysql through ssh I get the following error: "SSH connection failed, The SSH tunnel has unexpectedly closed." My connection settings are below.
Name: scotchbox
Mysql Host: 127.0.01
User: root
Password: root
SSH Host: 192.168.33.10
SSH user: vagrant
SSH password: vagrant
The text was updated successfully, but these errors were encountered: