[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Something wrong?


Hi ppl!

I have got a problem and don't know what i need to do :(.

tunnel->ssh = ssh_new ();

snprintf (strport, NI_MAXSERV, "%d", tunnel->localport);

ssh_options_set (tunnel->ssh, SSH_OPTIONS_HOST, tunnel->hostname);
ssh_options_set (tunnel->ssh, SSH_OPTIONS_USER, tunnel->username);
ssh_options_set (tunnel->ssh, SSH_OPTIONS_PORT, strport);

ret = ssh_userauth_password (tunnel->ssh, tunnel->username,
tunnel->password);

if (ret != SSH_AUTH_SUCCESS)
{
g_debug ("plugin tunnel (%s): auth failed [%s]", tunnel->name, ssh_get_error
(tunnel->ssh));

tunnel->private->state = GSQLP_TUNNEL_STATE_ERROR;
//tunnel->autoconnect = FALSE;

ssh_free (tunnel->ssh);
 }

here is the error message:

DEBUG: plugin tunnel (my laptop): auth failed [Sending
SSH2_MSG_SERVICE_REQUEST failed.]

Could somebody help me with this trouble? What means this error message? and
what should i do?

WBR
Taras

Follow-Ups:
Re: Something wrong?Andreas Schneider <mail@xxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org