disclosure-bureau/infra/disclosure-stack/scripts/ssh.sh

7 lines
259 B
Bash
Executable file

#!/usr/bin/env bash
# Open an interactive SSH session to the VPS using credentials from .env.
# Usage:
# ./ssh.sh # interactive shell
# ./ssh.sh "docker ps" # one-shot remote command
source "$(dirname "$0")/_lib.sh"
vps_ssh "${1:-}"