Fixed SSH bug

This commit is contained in:
Brian Zalewski 2023-11-28 01:19:29 +00:00
parent 44d02c5d19
commit 2970d6917c

View file

@ -32,6 +32,9 @@ if [[ ! "$(test -d /proc && grep Microsoft /proc/version > /dev/null)" ]]; then
sudo setsebool -P nis_enabled 1 sudo setsebool -P nis_enabled 1
fi fi
### Ensure keys are created
logg info 'Running sudo ssh-keygen -A' && sudo ssh-keygen -A
### Restart SSH server ### Restart SSH server
if [ -d /Applications ] && [ -d /System ]; then if [ -d /Applications ] && [ -d /System ]; then
# macOS # macOS