Explorar o código

Logging authentication methods offered by the SSH server

Source commit: 6a15cd9be5222c4a734a262b18a136488f293d81
Martin Prikryl %!s(int64=9) %!d(string=hai) anos
pai
achega
19a661e2bd
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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 =