1
0
mirror of https://github.com/tommytran732/macOS-Setup-Script synced 2024-11-22 09:51:33 -05:00

Verify SSH Fingerprints

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2023-01-18 06:31:59 -05:00
parent 587091d3df
commit 2304f988b2
No known key found for this signature in database
GPG Key ID: 060B29EB996BD9F2

View File

@ -9,8 +9,12 @@ echo "export SSH_AUTH_SOCK=$HOME/.gnupg/S.gpg-agent.ssh" >> ~/.zshrc
echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> ~/.zshrc echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> ~/.zshrc
#Comment this line out if you don't have Touch ID #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)" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew tap homebrew/autoupdate 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 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