Files
shopdb-flask/.claude/setup/enable-vm-ssh.ps1
Proudlock bd48814021 Reorganize repository structure and clean up documentation
Clean up and organize the flask-shopdb repository for better
maintainability and discoverability:

## Changes

- Update .gitignore for build artifacts (publish/, data/, 122M total)
- Reorganize .claude/ into 6 subdirectories with README navigation
- Consolidate overlapping MCP setup guides into MCP-QUICK-START.md
- Move deployment docs from root to docs/deployment/
- Archive dated status reports to .claude/archived/
- Delete temporary files (logs, backups, empty reports, ~50K)

## New Structure

.claude/ organized into:
- setup/ - MCP, VM, Hyper-V, GitHub setup guides + scripts (17 files)
- plans/ - Feature plans and protocols (5 files)
- maintenance/ - Deployment checklists and reports (4 files)
- archived/ - Historical documentation (9 files)
- skills/ - Claude Code automation (5 files)
- workflows/ - Security audit workflow (1 file)

docs/deployment/ created with 6 deployment guides:
- LOCAL-DEV-SETUP.md, DOCKER-SETUP.md, DOCKER-PREBUILT-APPROACH.md
- PRODUCTION-READINESS.md, DEPLOY-TO-VM.md, README.md

Root directory cleaned to essential docs only:
- CLAUDE.md, README.md, CONTRIBUTING.md, CHANGELOG.md

Benefits:
- Clear navigation via README.md in each subdirectory
- No duplicate/overlapping documentation
- Large artifacts properly gitignored (won't bloat repository)
- Historical context preserved in archived/

See .claude/CLEANUP-SUMMARY.md for complete details.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-09-11 15:45:05 -04:00

37 lines
1.1 KiB
PowerShell

# Enable SSH Password Authentication on Windows VM
# Run this script as Administrator in the VM
# 1. Set password for SupportUser
Write-Host "Setting password for SupportUser..."
net user SupportUser vos313
# 2. Enable password authentication in sshd_config
Write-Host "Enabling password authentication..."
$sshdConfig = "C:\ProgramData\ssh\sshd_config"
if (Test-Path $sshdConfig) {
# Backup original
Copy-Item $sshdConfig "$sshdConfig.backup"
# Enable password authentication
$content = Get-Content $sshdConfig
$content = $content -replace '#PasswordAuthentication yes', 'PasswordAuthentication yes'
$content = $content -replace 'PasswordAuthentication no', 'PasswordAuthentication yes'
$content | Set-Content $sshdConfig
Write-Host "Updated sshd_config"
} else {
Write-Host "sshd_config not found at $sshdConfig"
}
# 3. Restart SSH service
Write-Host "Restarting SSH service..."
Restart-Service sshd
# 4. Verify service is running
Get-Service sshd
Write-Host ""
Write-Host "SSH setup complete!"
Write-Host "Test from host: ssh SupportUser@192.168.100.10"