I am trying to create a simple alias for SSH-ing to a host, like the below:
alias wpessh='ssh $1@$1.ssh.wpengine.net'
I also tried using a function as suggested by other answers here:
function wpessh { ssh "$1"@"$1".ssh.wpengine.net; }
export -f wpessh
But neither has worked.
Input
wpessh mysite
Expected Output (expected command to be run)
ssh [email protected]