forked from openssh/openssh-portable
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upstream: note successful authentication method in final "Authenticated
to ..." message and partial auth success messages (all at LogLevel=verbose) ok dtucker@ OpenBSD-Commit-ID: 06834b89ceb89f8f16c5321d368a66c08f441984
- Loading branch information
Showing
2 changed files
with
12 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* $OpenBSD: ssh.c,v 1.564 2021/07/23 04:04:52 djm Exp $ */ | ||
/* $OpenBSD: ssh.c,v 1.565 2021/07/23 05:24:02 djm Exp $ */ | ||
/* | ||
* Author: Tatu Ylonen <[email protected]> | ||
* Copyright (c) 1995 Tatu Ylonen <[email protected]>, Espoo, Finland | ||
|
@@ -1651,13 +1651,6 @@ main(int ac, char **av) | |
ssh_login(ssh, &sensitive_data, host, (struct sockaddr *)&hostaddr, | ||
options.port, pw, timeout_ms, cinfo); | ||
|
||
if (ssh_packet_connection_is_on_socket(ssh)) { | ||
verbose("Authenticated to %s ([%s]:%d).", host, | ||
ssh_remote_ipaddr(ssh), ssh_remote_port(ssh)); | ||
} else { | ||
verbose("Authenticated to %s (via proxy).", host); | ||
} | ||
|
||
/* We no longer need the private host keys. Clear them now. */ | ||
if (sensitive_data.nkeys != 0) { | ||
for (i = 0; i < sensitive_data.nkeys; i++) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters