summaryrefslogtreecommitdiffhomepage
path: root/cli-auth.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2009-07-06 14:02:45 +0000
committerMatt Johnston <matt@ucc.asn.au>2009-07-06 14:02:45 +0000
commit8a19a049b25f72062cc38a0940d9dc5f928cdb0e (patch)
tree4ab2dfaabab66d954baa7508e7f48d218472e54f /cli-auth.c
parentc742137dc8c8dd2163a2353d3382fdf2cae44c24 (diff)
- Client auth using an agent's key works. Still need to implement client
agent forwarding. --HG-- branch : agent-client extra : convert_revision : 276cf5e82276b6c879d246ba64739ec6868f5150
Diffstat (limited to 'cli-auth.c')
-rw-r--r--cli-auth.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli-auth.c b/cli-auth.c
index 8b6a440..cfcf134 100644
--- a/cli-auth.c
+++ b/cli-auth.c
@@ -234,6 +234,10 @@ void recv_msg_userauth_success() {
ses.authstate.authdone = 1;
cli_ses.state = USERAUTH_SUCCESS_RCVD;
cli_ses.lastauthtype = AUTH_TYPE_NONE;
+
+#ifdef ENABLE_CLI_PUBKEY_AUTH
+ cli_auth_pubkey_cleanup();
+#endif
}
void cli_auth_try() {