【发布时间】:2014-07-06 01:06:16
【问题描述】:
我正在尝试使用 Windows 机器上的 MySQL Workbench 连接到我的 Nitrous.IO MySQL 服务器实例(换句话说,没有端口转发)。这些是我采取的没有成功的步骤,也许有人可以指出任何错误/潜在问题?
- 使用 PuttyGen 添加了 SSH 密钥 (http://help.nitrous.io/ssh-windows/)。我尝试使用密码创建私钥,而没有密码则没有成功。
- 在 MySQL 工作台上设置连接。使用 Nitrous.IO 框信息面板中的 SSH 主机名作为 apse1.nitrousbox.com:10871,使用“action”作为用户名,没有密码。
- 使用 PuttyGen 创建的选定 PPK 文件
- 将 MySQL 主机名指定为 127.0.0.1、端口 3306 和用户 root,没有密码(在本地 Nitrous.IO 终端工作)
现在,当我测试我的连接时,我收到以下错误:
Could not connect the SSH Tunnel
Authentication error. Please check that your username and password are correct and try again.
Details (Original exception message):
Bad authentication type, the server is not accepting this type of authentication.
Allowed ones are:
['publickey']
现在我确定这是要使用的身份验证类型,因为我指定了私钥文件。此设置可能有什么问题?
【问题讨论】:
标签: mysql ssh mysql-workbench nitrousio