Using ssh over a cruddy connection like a Starbucks WiFi that keeps dropping you, you probably want to use screen to keep your session running on your host when your connection goes down. That's all fine and well, but make sure you also add the "-t" option to ssh when you connect like this:
ssh -t [email protected]
Let me know if you have a link to a good posting on why this magic works and I will add it here.
Try Buffer, a smarter way to share links and pictures by spreading your tweets and posts out over time. Sign up from this link and we both get extra features.