11 lines
320 B
Bash
Executable File
11 lines
320 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
cp /ssh/vigile.key /tmp/vigile.key
|
|
chmod 600 /tmp/vigile.key
|
|
ssh -fN -L 15432:localhost:5432 -i /tmp/vigile.key -o StrictHostKeyChecking=no -o ServerAliveInterval=30 ubuntu@79.72.30.231
|
|
|
|
echo '[start.sh] Tunnel SSH vers Vigile établi sur 127.0.0.1:15432'
|
|
|
|
exec python -m dashboard.app
|