#!/bin/bash if [ "${1}" = "emach" ];then ssh -p 27 glitchd@173.175.90.33 elif [ "${1}" = "hp" ];then ssh -p 22 glitchd@173.175.90.33 else echo "That is not a known machine" fi