From 2304f988b2345dedcaa251ec9976ee7e632344dd Mon Sep 17 00:00:00 2001 From: Tommy Date: Wed, 18 Jan 2023 06:31:59 -0500 Subject: [PATCH] Verify SSH Fingerprints Signed-off-by: Tommy --- install.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 6963128..aa21fdb 100644 --- a/install.sh +++ b/install.sh @@ -9,8 +9,12 @@ echo "export SSH_AUTH_SOCK=$HOME/.gnupg/S.gpg-agent.ssh" >> ~/.zshrc echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> ~/.zshrc #Comment this line out if you don't have Touch ID -awk 'NR==2 {print "auth sufficient pam_tid.so"} 1' /etc/pam.d/sudo > /etc/pam.d/sudo +awk 'NR==2 {print "auth sufficient pam_tid.so"} 1' /etc/pam.d/sudo | sudo tee /etc/pam.d/sudo /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" brew tap homebrew/autoupdate -brew install --cask android-platform-tools docker github gpg-suite microsoft-auto-update microsoft-edge mullvadvpn parallels raspberry-pi-imager veracrypt visual-studio-code \ No newline at end of file +brew install --cask android-platform-tools docker github gpg-suite microsoft-auto-update microsoft-edge mullvadvpn parallels raspberry-pi-imager veracrypt visual-studio-code + +# Verify SSH Fingerprints +echo "VerifyHostKeyDNS=true" | sudo tee /etc/ssh/ssh_config.d/VerifyHostKeyDNS.conf +sudo chmod 644 /etc/ssh/ssh_config.d/VerifyHostKeyDNS.conf \ No newline at end of file