[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Documentation issue + hang
[Thread Prev] | [Thread Next]
- Subject: Documentation issue + hang
- From: "Oliver Stöneberg" <oliverst@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Reply-to: oliverst@xxxxxxxxx
- Date: Thu, 24 Mar 2011 13:07:44 +0100
- To: libssh@xxxxxxxxxx
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