my-scripts/ssh-tunnel

12 lines
169 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
# TODO:
# - Add options for port
# - Automatically get password from `pass`
PORT=12800
ssh -N -D "$PORT" nortega@themusicinnoise.net