#!/bin/bash port=42110 ssh -q -f -L "${port}:${1}:110" "$1" 'sleep 5' 2>/dev/null nc localhost "${port}"