Found what I think is a more elegant solution
here
In ~/.ssh/config put:
Host remotehostname the.real.host.tld
user gary
port 222
... if you wish to use 'remote' as an alias for 'the.real.host.tld'
Alternatively, just use:
Host the.real.host.tlduser gary
port 222
... if you don't wish to use 'remote' as the alias.