Reorganize repo: compartmentalize scripts by client/project
Move 150+ scripts from root and scripts/ into client/project directories: - clients/dataforth/scripts/ (110 files: AD2, sync, SSH, DB, DOS scripts) - clients/bg-builders/scripts/ (14 files: Lesley mgmt, Exchange, termination) - clients/internal-infrastructure/scripts/ (10 files: GDAP, Gitea, backups) - projects/msp-tools/scripts/ (9 files: CIPP, MSP onboarding, Datto) - projects/gururmm-agent/scripts/ (3 files: API test, JWT, record counts) - clients/glaztech/scripts/ (1 file: CentraStage removal) Also reorganized: - VPN scripts → infrastructure/vpn-configs/ - Retrieved API/JS files → api/ - Forum posts → projects/community-forum/forum-posts/ - SSH docs → clients/internal-infrastructure/docs/ - NWTOC/CTONW docs → projects/wrightstown-smarthome/docs/ - ACG website files → projects/internal/acg-website-2025/ - Dataforth docs → clients/dataforth/docs/ - schema-retrieved.sql → docs/database/ Deleted 24 tmp_*.ps1 one-off debug scripts (preserved in git history). Root reduced from 220+ files to 62 items (docs + directories only). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
18
clients/dataforth/scripts/diagnose-nas-ssh.ps1
Normal file
18
clients/dataforth/scripts/diagnose-nas-ssh.ps1
Normal file
@@ -0,0 +1,18 @@
|
||||
# Diagnose D2TESTNAS SSH connection issues
|
||||
|
||||
Write-Host "[INFO] Testing SSH connection to D2TESTNAS (192.168.0.9)..."
|
||||
Write-Host ""
|
||||
|
||||
# Try SSH with verbose output
|
||||
$Output = & ssh -v root@192.168.0.9 "echo 'Connection successful'" 2>&1
|
||||
|
||||
Write-Host "[INFO] SSH Output:"
|
||||
$Output | ForEach-Object { Write-Host $_ }
|
||||
|
||||
Write-Host ""
|
||||
Write-Host "[INFO] If key authentication is failing, you can:"
|
||||
Write-Host " 1. Access web interface: http://192.168.0.9/"
|
||||
Write-Host " User: admin, Password: Paper123!@#-nas"
|
||||
Write-Host " 2. Check SSH service status"
|
||||
Write-Host " 3. Verify authorized_keys file"
|
||||
Write-Host " 4. Restart SSH service if needed"
|
||||
Reference in New Issue
Block a user