Run these following commands in your terminal. Click "Read More" to full article.
1. Open the bash profile using nano editor:
$ nano ~/.bash_profile
2. Add this command to bash_profile
alias myalias='ssh email@example.com'
3. Save & exit :
4. Restart the terminal and now you should be able to just type myalias to access to your remote server.
You can also use aliases as a shortcut to your lengthy command.