if you are experiencing high delay, or are roaming, for example on a mobile phone with data, you might benefit from using
mosh (mobile shell) is like an ssh connection, but with support for reconnecting after drops in connection. it also doesn't wait for the server to respond before displaying keystrokes, which means that you don't have to wait for 5 seconds every time you type a letter.
please see the mosh homepage for installation instructions.
to connect, simply connect as if it were an ssh server:
mosh uses SSH to connect, then starts a mosh-server and connects to it using a UDP connection.