#!/bin/sh # Forward local 27017 to MongoDB on NS1 (127.0.0.1:27017). Keep this running. exec ssh -N -L 27017:127.0.0.1:27017 ns1