Commit ad5881e8 authored by Niels Möller's avatar Niels Möller
Browse files

(do_none_login): Print a verbose message.

(send_password): Likewise.
(do_userauth_pk_ok): Likewise.
(do_publickey_login): Likewise.

Rev: src/client_userauth.c:1.52
parent 4c2ea995
......@@ -557,8 +557,8 @@ do_none_login(struct client_userauth_method *s UNUSED,
struct ssh_connection *connection,
struct exception_handler *e)
{
trace("client_userauth.c: do_none_login\n");
verbose("Requesting authentication using the `none' method.\n");
C_WRITE(connection,
format_userauth_none(userauth->username,
userauth->service_name));
......@@ -616,6 +616,8 @@ send_password(struct client_password_state *state)
state->tried_empty_passwd++;
}
verbose("Requesting authentication using the `password' method.\n");
C_WRITE(state->connection,
format_userauth_password(state->userauth->username,
state->userauth->service_name,
......@@ -865,6 +867,8 @@ do_userauth_pk_ok(struct packet_handler *s,
struct lsh_string *request;
struct lsh_string *signed_data;
verbose("Sending `publickey' signature.\n");
#if DATAFELLOWS_WORKAROUNDS
if (connection->peer_flags & PEER_USERAUTH_REQUEST_KLUDGE)
request = format_userauth_publickey(self->state->userauth->username,
......@@ -929,6 +933,8 @@ do_publickey_login(struct client_userauth_method *s,
{
CAST(keypair, key, LIST(self->keys)[i]);
verbose("Requesting authentication using the `publickey' method.\n");
/* NOTE: The PEER_USERAUTH_REQUEST_KLUDGE only applies to the
* signed data. */
C_WRITE(connection,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment