--- tags: [skymilhas, infra, servidores, acesso] created: 2026-04-14 --- # Servidores SkyMilhas ## Servidor do Site (75.119.132.37) - **User**: root - **Pass**: ut4Cu7dI0nG!ezkk - **Stack**: Apache, PHP (CodeIgniter 4), MySQL - **Frontend**: `/var/www/skymilhas/app/Views/painel/index.php` - **PHP Service**: `/var/www/skymilhas/app/Libraries/MilhasApiService.php` - **Routes**: `/var/www/skymilhas/app/Config/Routes.php` ## Servidor dos Scrapers (173.208.187.154) - **User**: customer - **Pass**: CRBtGb5ftDeZ - **Stack**: Node.js, PM2, Puppeteer/Playwright - **Gateway**: `/opt/skymilhas/server.js` (porta 3019) - **Scrapers**: `/opt/skymilhas/scrapers/[companhia]/index.js` - **Precisa sudo** para editar /opt/skymilhas ## Comandos SSH ```bash # Site echo "y" | "/c/Program Files/PuTTY/plink.exe" -ssh root@75.119.132.37 -pw "ut4Cu7dI0nG!ezkk" "comando" # Scraper (via site com sshpass) echo "y" | "/c/Program Files/PuTTY/plink.exe" -ssh root@75.119.132.37 -pw "ut4Cu7dI0nG!ezkk" "sshpass -p 'CRBtGb5ftDeZ' ssh -o StrictHostKeyChecking=no customer@173.208.187.154 'echo CRBtGb5ftDeZ | sudo -S comando'" ``` ## Limpar Caches ```bash curl -s http://173.208.187.154:3019/cache/clear curl -s 'http://173.208.187.154:3001/api/cache/clear?api_key=msa_live_k8x9f2h4j6m3n7p1q5w8e2r4t6y9u3i7' systemctl restart apache2 # no servidor do site ```