#!/bin/sh default=$(netstat -rn | awk '/default/ { print $2 }') ssh -A ${default}