[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Something wrong?
[Thread Prev] | [Thread Next]
- Subject: Re: Something wrong?
- From: Andreas Schneider <mail@xxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Fri, 12 Mar 2010 09:08:18 +0100
- To: libssh@xxxxxxxxxx
On Friday 12 March 2010 00:08:38 you wrote: > 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); ssh_options_set (tunnel->ssh, SSH_OPTIONS_PORT, &tunnel->localport); > ret = ssh_userauth_password (tunnel->ssh, tunnel->username, > tunnel->password); Are you sure that you want to use password auth? This is insecure and disabled by default. Keyboard-Interactive is username + password authentication. Cheers, -- andreas
Re: Something wrong? | Taras Halturin <halturin@xxxxxxxxx> |
Something wrong? | Taras Halturin <halturin@xxxxxxxxx> |