Slow SSH to Dreamhost on OS X October 23, 2008
For some strange reason I had been getting delays when connecting to Dreamhost via SSH. Basically after typing in my password I’d be looking at 30-45 seconds waiting, then after typing a first command..,. say ls -al, I’d have to wait 30-500 seconds for anything to appear. After running a few commands, it would start to speed up and function normally.
Very annoying when I wanted to quickly log in and change 1-2 things on a file. After some investigations, I think I have found the solution (I believe it is related to stored ssh private keys).
rm ~/Library/Preferences/com.apple.terminal.plist
To remove your terminal preferences (in case you have some funky preference causing issues, you may or may not need to do this). Then:
rm ~/.ssh


