Cleaning up log for ssh command data