Those are terminal colour codes from some version of ls. Try setting the terminal type on the other end to DUMB or run ls --color=never to tell it not to output color escapes.
In reply to Re: odd escape chars in strings obtained by SSH
by Fletch
in thread odd escape chars in strings obtained by SSH
by danmcb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |