#!/bin/sh HOSTNAME=$(hostname) if [ -e "~/.ssh/ssh_agent_info_${HOSTNAME}" ]; then . "~/.ssh/ssh_agent_info_${HOSTNAME}" fi; ssh "$@"