#!/bin/bash
REMOTE_PORT=2223
HOST=ollama.epsem.aranroig.com
PORT=5001
REMOTE_USER=root
REMOTE_HOST=ollama.epsem.aranroig.com
ssh -p ${REMOTE_PORT} -N -R ${HOST}:${PORT}:localhost:${PORT} -o ServerAliveInterval=30 \
			-o ServerAliveCountMax=3 \
			-o ExitOnForwardFailure=yes \
    			${REMOTE_USER}@${REMOTE_HOST}