SSH issue when connection MySQL workbench to vagrant -
i'm trying connect vagrant mysql server using mysql workbench. shows error shown in image.
the workbench error log pasted below.
17:34:50 [inf][ ssh tunnel]: existing ssh tunnel not found, opening new 1 17:34:50 [inf][ ssh tunnel]: opening ssh tunnel 127.0.0.1:2222 17:34:50 [err][ sshtunnel.py]: traceback (most recent call last): file "/usr/share/mysql-workbench/sshtunnel.py", line 231, in _connect_ssh look_for_keys=has_key, allow_agent=has_key) file "/usr/lib/python2.7/dist-packages/paramiko/client.py", line 337, in connect self._auth(username, password, pkey, key_filenames, allow_agent, look_for_keys) file "/usr/lib/python2.7/dist-packages/paramiko/client.py", line 528, in _auth raise saved_exception authenticationexception: authentication failed. 17:34:50 [err][ ssh tunnel]: authentication error opening ssh tunnel: authentication error. please check username , password correct , try again.
vagrant up
command output pasted below
==> default: clearing set network interfaces... ==> default: preparing network interfaces based on configuration... default: adapter 1: nat default: adapter 2: hostonly ==> default: forwarding ports... default: 22 => 6216 (adapter 1) default: 22 => 2222 (adapter 1) ==> default: running 'pre-boot' vm customizations... ==> default: booting vm... ==> default: waiting machine boot. may take few minutes... default: ssh address: 127.0.0.1:2222 default: ssh username: vagrant default: ssh auth method: private key default: warning: connection timeout. retrying... ==> default: machine booted , ready! ==> default: checking guest additions in vm... ==> default: configuring , enabling network interfaces...
the command vagrant ssh
works fine in terminal. doing wrong here?
if run vagrant ssh-config
show key using. not use .vagrant.d/insecure_private_key
key in project directory .vagrant/machines/default/virtualbox/private_key
.
if specify key in mysql connection panel should able logon without having add key vm.
Comments
Post a Comment