[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Something wrong?
[Thread Prev] | [Thread Next]
- Subject: Something wrong?
- From: Taras Halturin <halturin@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Fri, 12 Mar 2010 02:08:38 +0300
- To: libssh@xxxxxxxxxx
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
Re: Something wrong? | Andreas Schneider <mail@xxxxxxxxxxxx> |