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

Documentation issue + hang


Hi,

I recently started using libssh and so far it has been working very
smoothly.

Today I ran into an issue, that was not related to libssh, but I
revisted the implementation code and fixes a few things.

One of them was the way I called ssh_userauth_list(). According to
the documentation you are supposed to set the "username" parameter to
NULL, but I was using the username. Unfortunately changing this
according to the documentation lead to a hang in
ssh_userauth_password()  the actual authentication code. Here's what
the log output says:

[2] Access denied. Authentication that can continue:
publickey,password
[1] Error : Access denied. Authentication that can continue:
publickey,password
[1] Error : Received SSH_MSG_DISCONNECT: 33554432:Change of username
or service not allowed: (Oliver Stöneberg,ssh-connection) -libssh-x86-
mingw4-20110323-bin.tar.bz2> (notroot,ssh-connection)

This happened with the libssh-x86-mingw4-20110126-bin and libssh-x86-
mingw4-20110323-bin nightly builds trying to access ubuntu and
centos.

Archive administrator: postmaster@lists.cynapses.org