diff options
author | djm@openbsd.org <djm@openbsd.org> | 2021-07-23 07:24:02 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2021-07-23 07:25:19 +0200 |
commit | 9e1882ef6489a7dd16b6d7794af96629cae61a53 (patch) | |
tree | 1cfa310d005f6df1db8c188fb1e0ac5de56b875b /ssh.c | |
parent | upstream: Add a ForkAfterAuthentication ssh_config(5) counterpart (diff) | |
download | openssh-9e1882ef6489a7dd16b6d7794af96629cae61a53.tar.xz openssh-9e1882ef6489a7dd16b6d7794af96629cae61a53.zip |
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
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -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 <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, 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++) { |