Fixed SSH bug
This commit is contained in:
parent
44d02c5d19
commit
2970d6917c
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue