2026-04-29 add personal/docs from ~/Documents/documentation

This commit is contained in:
Alexey Martemyanov
2026-04-29 16:28:34 +06:00
parent 3ee383f54d
commit 69594d360a
12 changed files with 1540 additions and 0 deletions
@@ -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.