Skip to content

Instantly share code, notes, and snippets.

View fengerzh's full-sized avatar
🎯
Focusing

Buzz Zhang fengerzh

🎯
Focusing
View GitHub Profile
@fengerzh
fengerzh / match-ssh-keys
Last active April 1, 2018 04:10 — forked from mschmitt/match-ssh-keys
Matches Fingerprints from sshd logs (sshd on loglevel VERBOSE) against authorized_keys for the respective user.
#!/usr/bin/perl -w
use strict;
use diagnostics;
use File::Temp;
# Matches Fingerprints from sshd logs (sshd on loglevel VERBOSE) against
# authorized_keys for the respective user.
die "Please specify input file!\n" unless ($ARGV[0]);