A tip to speed up commands on ssh significantly, especially for long running sessions. (Note – All the instructions are only for Ubuntu 12.04)
- Put the following in ~/.ssh/config
1 2 3 4
- chmod 600 ~/.ssh/config
- mkdir ~/.ssh/auth
In my testing, the ssh connect and exit time to a test instance, dropped from 5.25-5.28 sec to 0.84-0.87 sec.