#!/usr/bin/env sh if [[ ! -f ~/.ssh/id_rsa ]]; then echo Generating ssh key, please wait ssh-keygen -q -f ~/.ssh/id_rsa -N "" fi tmate-real "$@"