[BACK]Return to sshconnect2.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/sshconnect2.c between version 1.350 and 1.351

version 1.350, 2021/07/02 05:11:21 version 1.351, 2021/07/23 05:24:02
Line 480 
Line 480 
   
         if (!authctxt.success)          if (!authctxt.success)
                 fatal("Authentication failed.");                  fatal("Authentication failed.");
         debug("Authentication succeeded (%s).", authctxt.method->name);          if (ssh_packet_connection_is_on_socket(ssh)) {
                   verbose("Authenticated to %s ([%s]:%d) using \"%s\".", host,
                       ssh_remote_ipaddr(ssh), ssh_remote_port(ssh),
                       authctxt.method->name);
           } else {
                   verbose("Authenticated to %s (via proxy) using \"%s\".", host,
                       authctxt.method->name);
           }
 }  }
   
 /* ARGSUSED */  /* ARGSUSED */
Line 638 
Line 645 
                 goto out;                  goto out;
   
         if (partial != 0) {          if (partial != 0) {
                 verbose("Authenticated with partial success.");                  verbose("Authenticated using \"%s\" with partial success.",
                       authctxt->method->name);
                 /* reset state */                  /* reset state */
                 pubkey_reset(authctxt);                  pubkey_reset(authctxt);
         }          }

Legend:
Removed from v.1.350  
changed lines
  Added in v.1.351