Skip to content

Commit

Permalink
Move the ssh config to macos/install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Jendker committed Aug 12, 2024
1 parent 7260210 commit 07c255d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 0 additions & 5 deletions macos/README.md

This file was deleted.

6 changes: 6 additions & 0 deletions macos/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,9 @@ ROOT_DIR/set_up_common.sh
cp "/Users/jedrzej/Library/Mobile Documents/com~apple~CloudDocs/Random/Keyboard Layouts/Polish-German.bundle" "$HOME/Library/Keyboard Layouts/"
echo "Reboot and add the Polish-German keyboard layout from Polish keyboards"
cp ROOT_DIR/dotfiles_private/fonts/* ~/Library/Fonts/

SSH_CONFIG_PATH=/etc/ssh/sshd_config.d/100-macos.conf
if ! grep -Fxq "PasswordAuthentication no" "$SSH_CONFIG_PATH"; then
echo "PasswordAuthentication no" >> "$SSH_CONFIG_PATH"
echo "ChallengeResponseAuthentication no" >> "$SSH_CONFIG_PATH"
fi

0 comments on commit 07c255d

Please sign in to comment.