In recent we've seen some additional formatting information is returned with some SSH commands breaking the expected results (e.g. JSDSERVER-11879)
As a work around, we are now (Discovery v.3.1.4) executing the following command before each command sent, which adds to the scan overall time and adds stress to the target:
bind 'set enable-bracketed-paste off'
This command can be set in the user profile / target machine to run once, when the Discovery user logs in to scan - so there is no need to execute this command every time - for each command.
As this command is currently hardcoded in Discovery - it will be nice to have an option to disable it in the Discovery Tool.