Hi,
now i have call ssh_userauth_none before i call ssh_userauth_list but
ssh_userauth_none returned "SSH_AUTH_ERROR "
rc = ssh_userauth_none(session, NULL);
if (rc == SSH_AUTH_ERROR) {
qDebug() << "SSH Error 121: ", ssh_get_error(session);
return rc;
}
method = ssh_userauth_list(session, NULL);
Am 28.04.2014 16:12, schrieb Daniel Kroker:
Hi,
no.
Am 28.04.2014 16:02, schrieb Andreas Schneider:
On Monday 28 April 2014 15:34:56 Daniel Kroker wrote:
Hello,
i have problems to login into debian 7 server. Debian 5 works fine for
me with this code.
int rc = method = ssh_userauth_list(session, NULL);
qDebug() << "method: " << QString::number(method);
ssh_userauth_list returned 0 it looks like 0 is
ssh_auth_method_unknown.
Did you call ssh_userauth_none() before?
-- andreas