Browse Source

Logging authentication methods offered by the SSH server

Source commit: 6a15cd9be5222c4a734a262b18a136488f293d81
Martin Prikryl 9 years ago
parent
commit
19a661e2bd
1 changed files with 3 additions and 0 deletions
  1. 3 0
      source/putty/ssh.c

+ 3 - 0
source/putty/ssh.c

@@ -9634,6 +9634,9 @@ static void do_ssh2_authconn(Ssh ssh, const unsigned char *in, int inlen,
 		    logevent("Further authentication required");
 		}
 
+#ifdef MPEXT	
+		logeventf(ssh, "Server offered these authentication methods: %s", methods);
+#endif
 		s->can_pubkey =
 		    in_commasep_string("publickey", methods, methlen);
 		s->can_passwd =