"Write failed : broken pipe" & "sort: write failed: /tmp/sort3OxX3B: No space left on device" error messages (Centos)

For the former, this a good post about how to solve it http://stackoverflow.com/questions/13228425/write-failed-broken-pipe add ServerAliveInterval 120 TCPKeepAlive no to this file ~/.ssh/config in your laptop client For the latter, just add export TMPDIR=/home/myuser/tmp to the file /home/myuser/.bash_profile next execute source /home/myuser/.bash_profile to reload the settings