Does not work for me, even with 5.2.
Observation: RouterOS is closing the SSH connection some time before it actually ends sending data. Happens only in "Single command" ssh mode, not with actual PTY allocated.
What actually happens:
ssh email@example.com '/export' |wc -c
gives around 12k less bytes it should return, also wields an error:
Write failed: Broken pipe
The export text is terminated randomly, usually in the middle of the line.
Please note that this breaks any serious mikrotik interoperability with other systems. I can provide any debugging output that would help the problem get fixed.
This is _not_ client SSH issue (I tried openssh 5.6 to 5.8_p2, paramiko, libssh and twisted-ssh, everytime the same error).
EDIT: I'm suspecting this is purely a SMP issue.
EDIT2: confirmed, it seems like non-x86 non-SMP boxes don't suffer from this.