I've commited a variant that still prints the hostname (available via the host argument) On Mon, 14 Oct 2019, krishnaiah bommu wrote: > Signed-off-by: krishnaiah bommu <krishnaiah.bommu@xxxxxxxxx> > --- > auth.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/auth.c b/auth.c > index ca450f4..aa0d8cc 100644 > --- a/auth.c > +++ b/auth.c > @@ -488,8 +488,7 @@ check_key_in_hostfiles(struct passwd *pw, struct sshkey *key, const char *host, > } > host_status = check_key_in_hostkeys(hostkeys, key, &found); > if (host_status == HOST_REVOKED) > - error("WARNING: revoked key for %s attempted authentication", > - found->host); > + error("WARNING: revoked key for attempted authentication"); > else if (host_status == HOST_OK) > debug("%s: key for %s found at %s:%ld", __func__, > found->host, found->file, found->line); > -- > 2.7.4 > > _______________________________________________ > openssh-unix-dev mailing list > openssh-unix-dev@xxxxxxxxxxx > https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev > _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev