[2026-05-12] taiga sync: family/.DS_Store family/_index.md family/how-to/htpc-access.md family/how-to/htpc-gaming-plans.md family/how-to/htpc-magic4pc.md family/how-to/htpc-migration-plan.md family/how-to/htpc-system.md family/how-to/htpc-webos-luna.md family/how-to/htpc.md family/how-to/magic4pc-webos.md
This commit is contained in:
+80
@@ -0,0 +1,80 @@
|
||||
# macOS VM Setup (VirtualBuddy): Disable Gatekeeper, Disable Quarantine, Enable SSH, Install SSH Key
|
||||
|
||||
---
|
||||
|
||||
# 1. Disable Gatekeeper (allow unnotarized apps)
|
||||
|
||||
Run:
|
||||
|
||||
sudo spctl --master-disable
|
||||
|
||||
Open **System Settings → Privacy & Security** and enable **Allow applications from Anywhere**.
|
||||
|
||||
Verify:
|
||||
|
||||
spctl --status
|
||||
|
||||
Expected output:
|
||||
|
||||
assessments disabled
|
||||
|
||||
---
|
||||
|
||||
# 2. Disable macOS quarantine tagging
|
||||
|
||||
Stop macOS from tagging downloads:
|
||||
|
||||
defaults write com.apple.LaunchServices LSQuarantine -bool false
|
||||
killall Finder
|
||||
|
||||
---
|
||||
|
||||
# 3. Grant Full Disk Access to Terminal
|
||||
|
||||
Open:
|
||||
|
||||
System Settings → Privacy & Security → Full Disk Access
|
||||
|
||||
Enable **Terminal**.
|
||||
|
||||
---
|
||||
|
||||
# 4. Enable SSH (Remote Login)
|
||||
|
||||
Run:
|
||||
|
||||
sudo systemsetup -setremotelogin on
|
||||
|
||||
Verify:
|
||||
|
||||
sudo systemsetup -getremotelogin
|
||||
|
||||
Expected output:
|
||||
|
||||
Remote Login: On
|
||||
|
||||
---
|
||||
|
||||
# 5. Find the VM IP address
|
||||
|
||||
Run inside the VM:
|
||||
|
||||
ipconfig getifaddr en0
|
||||
|
||||
---
|
||||
|
||||
# 6. Copy SSH key from host macOS
|
||||
|
||||
Run on the host:
|
||||
|
||||
ssh-copy-id admin@VM_IP
|
||||
|
||||
---
|
||||
|
||||
# 7. Connect to the VM via SSH
|
||||
|
||||
Run on the host:
|
||||
|
||||
ssh admin@VM_IP
|
||||
|
||||
SSH login will now work using the key without requiring a password.
|
||||
Reference in New Issue
Block a user