This file contains hidden or 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
#!/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]); |
This file contains hidden or 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
#!/bin/bash | |
function warn { | |
echo -e "\n$1 Email and author not initialized in local config!" | |
} | |
email="$(git config --local user.email)" | |
name="$(git config --local user.name)" | |
if [[ $1 != "0000000000000000000000000000000000000000" || -n $email || -n $name ]]; then |