Removes the trailing whitespaces
Quickfix for ssh problems