@echo off
REM Tunel SSH para Saveinmed Database
REM Uso: Execute este script antes de iniciar o backend

echo ============================================
echo   Saveinmed DB - Tunel SSH
echo ============================================
echo.
echo Criando tunel SSH...
echo   Local:  localhost:15432
echo   Remote: 10.0.9.219:5432
echo.
echo Pressione Ctrl+C para encerrar o tunel.
echo.

plink.exe -ssh -P 18863 -pw "akoyqc10qfs7@" -hostkey "ssh-ed25519 255 SHA256:eoxMLtX7E6zQPJQX+yhAZQOOHHG7JGTrZcuGKyBxCNg" -L 15432:10.0.9.219:5432 admin@db-60604.dc-us-1.absamcloud.com -N
