To save some typing you can create aliases to the servers you frequently access via ssh. This can be accomplished by either editing the global file ( /etc/ssh/ssh_config ), if you’re root and and to make changes for all the users, or your own config file ( $HOME/.ssh/config ).
Follow the example, and remember to customize to your needs
Host * Compression yes Port 22 ForwardAgent yes Host sample HostName host.sample_of_a_very_long_host_name.com User joe ForwardAgent yes Port 22 Compression yes
Now you can ssh into that server using:
ssh sample