I'd suggest combining Sergiy's and Lewis's answers for maximum
First create a host entry for
~/.ssh/config file with the following contents
ssh meh works, but that could still be quite long. There is autocompletion (after
ssh[Blank]), but its still an awful lot to type.
So lets also define an
.bashrc in your local home directory. Add an alias like:
alias meh='ssh meh'
Now you can connect to "meh.example.com" by simply typing
meh in your terminal window.
If instead of "meh" you want to use a longer string, you can actually use [Tab] key to autocomplete.
Or if you are really lazy, just define a single character as alias:
alias m='ssh meh'
So, if you type m and hit Enter/Return, your ssh connection will start immediately !