connect via ssh issue
connect via ssh issue
hello
when I try to connect via ssh it says me 'authorization failed'. username and password are definitely correct and i can connect to server with an ordinary ssh client (putty in this case).
where might be a problem?
when I try to connect via ssh it says me 'authorization failed'. username and password are definitely correct and i can connect to server with an ordinary ssh client (putty in this case).
where might be a problem?
Please tell us the following information to help us reproduce this error:
1. Please send us the complete text of the error message.
2. Can you establish a connection if you set only the parameters on the General tab? When establishing SSH connection, you should set the General tab parameters too.
Probably, you receive the "User authentication failed?" message. If you want to use password authentication, you need to enable this authentication on the server.
To enable it, you should add a "PasswordAuthentication yes" line to the sshd_config(\Program Files\NetworkSimplicity\ssh\). If you have a "PasswordAuthentication no" line in this file, replace it with "PasswordAuthentication yes".
Also take look at dbForge Studio's documentation articles:
How To: Install and Set Up SSH Server
and
How To: Create SSH Connection
Have you managed to establish a connection successfully?
1. Please send us the complete text of the error message.
2. Can you establish a connection if you set only the parameters on the General tab? When establishing SSH connection, you should set the General tab parameters too.
Probably, you receive the "User authentication failed?" message. If you want to use password authentication, you need to enable this authentication on the server.
To enable it, you should add a "PasswordAuthentication yes" line to the sshd_config(\Program Files\NetworkSimplicity\ssh\). If you have a "PasswordAuthentication no" line in this file, replace it with "PasswordAuthentication yes".
Also take look at dbForge Studio's documentation articles:
How To: Install and Set Up SSH Server
and
How To: Create SSH Connection
Have you managed to establish a connection successfully?
right, the exact msg is.jp wrote:Please tell us the following information to help us reproduce this error:
1. Please send us the complete text of the error message.
2. Can you establish a connection if you set only the parameters on the General tab? When establishing SSH connection, you should set the General tab parameters too.
Probably, you receive the "User authentication failed?" message.
Can't connect to SSH server on 'stanley.winlink.ru':
User authentication failed.
hmm... as I noted above I CAN connect to sshd using pass auth:If you want to use password authentication, you need to enable this authentication on the server.
To enable it, you should add a "PasswordAuthentication yes" line to the sshd_config(\Program Files\NetworkSimplicity\ssh\). If you have a "PasswordAuthentication no" line in this file, replace it with "PasswordAuthentication yes".
Code: Select all
login as: romb
[email protected]'s password:
Linux hshs 2.6.35-26-generic #46-Ubuntu SMP Sun Jan 30 06:59:07 UTC 2011 x86_64 GNU/Linux
Ubuntu 10.10
Welcome to Ubuntu!
* Documentation: https://help.ubuntu.com/
Last login: Thu Feb 10 14:41:41 2011 from nat-pool4-156.solvo.ru
romb@hshs:~$
Code: Select all
romb@hshs:~$ cat /etc/ssh/sshd_config
# Package generated configuration file
# See the sshd_config(5) manpage for details
......
# Change to no to disable tunnelled clear text passwords
#PasswordAuthentication yes
......
btw, all these citations are from ssh session

I've read docs. they contain nothing except how to fill general tab options... how could I attach screenshot?Also take look at dbForge Studio's documentation articles:
How To: Install and Set Up SSH Server
and
How To: Create SSH Connection
Have you managed to establish a connection successfully?
You may attach an image with help:
Then specify the URL of the image at our forum. For example:
Actually, such error usually occurs if the parameters on the first tab of the connection editor were not set or were set incorrectly.
To establish an SSH connection you should set the General tab parameters too.
Code: Select all
http://imageshack.us/
Code: Select all
[img]http://some_image_server.com/your_picture.jpg[/img]
To establish an SSH connection you should set the General tab parameters too.
1. Have you set the connection parameters on the General tab of the Connection Editor dialog box for your SSH connection? If not, you have to set them. (On the General tab set login information required to connect to the MySQL Server. It should be set relatively to the SSH Server. Specify the following:
Host - the name of the MySQL Server host. If SSH and MySQL Servers are on the same machine, the host name can be localhost.
Port - the TCP/IP port to connect to the MySQL Server. By default, it is 3306.
User - the name of the user account on the MySQL Server, it can be root.
Password - the password of the user account on the MySQL Server.)
Also please attach a screenshot shows the content of the General tab.
2. The Interactive mode check box is selected on the screenshot. Is authentication in interactive mode set on your server? If not, clear this check box and try establishing a connection again.
Host - the name of the MySQL Server host. If SSH and MySQL Servers are on the same machine, the host name can be localhost.
Port - the TCP/IP port to connect to the MySQL Server. By default, it is 3306.
User - the name of the user account on the MySQL Server, it can be root.
Password - the password of the user account on the MySQL Server.)
Also please attach a screenshot shows the content of the General tab.
2. The Interactive mode check box is selected on the screenshot. Is authentication in interactive mode set on your server? If not, clear this check box and try establishing a connection again.
In the first case (when you uploaded a screenshot illustrating an attempt to connect in the interactive mode for the first time) authentication fails because the SSH server doesn't allow keyboard-interactive.
In the second case (when you uploaded two screenshots), it's likely that connection to the SSH server was established, but the specified MySQL server host or port was incorrect (please try using IP Address explicitly and explicitly specify the port instead of localhost).
Also please check if you can connect to the SSH server in the password mode and after that change the username to a non-existent one (on the Security tab of the Database Connection Properties window), and in this case a user should get the "Authentification failed" message instead of the "Server did not respond... " one – it's a guarantee that there is no problem with SSH authentication in the second case (on those attached screenshots), but the problem is that host and/or MySQL server port was specified incorrectly.
In the second case (when you uploaded two screenshots), it's likely that connection to the SSH server was established, but the specified MySQL server host or port was incorrect (please try using IP Address explicitly and explicitly specify the port instead of localhost).
Also please check if you can connect to the SSH server in the password mode and after that change the username to a non-existent one (on the Security tab of the Database Connection Properties window), and in this case a user should get the "Authentification failed" message instead of the "Server did not respond... " one – it's a guarantee that there is no problem with SSH authentication in the second case (on those attached screenshots), but the problem is that host and/or MySQL server port was specified incorrectly.
The question with specifying localhost or IP address depends on the Linux server configuration, there are no such problems for Windows server.setting ip instead of localhost solves the problem.
In the first case (when the "Authentification failed" message is displayed) MySQL throws an error without explaining reasons of the error, i.e. neither dbForge, nor user understands which information that was entered was wrong. We cannot do anything about this until MySQL gives more detailed messages.anyway, the message concerning failed ssh connection is a bit messing, don't you think that?
In the second case (when the "Server did not respond... " message is displayed) we generate the message text ourselves, and, as you've noticed correctly for this very case, the message was generalized and no details were specified. I've added this to our bugtracker as a bug and it may be fixed in the nearest builds.
Kindly let us know if you have any other issues or questions regarding the product, we'll like to help.