Multiple ssh-command

Hello there.

I’ve got two routers: 192.168.1.1 (RouterOS 6.43.12) and 192.168.2.2 (RouterOS 6.44+)
I’ve got two rsc-files:

first.rsc:

/ip route print
/ip address print

second.rsc:

/ip route print; /ip address print

When I do on my Linux machine

cat first.rsc | ssh -T 192.168.1.1 -p 22

I see result of both commands, but on second router (

cat first.rsc | ssh -T 192.168.2.2 -p 22

) I see only

/ip route print

result, second command is not executing.

By the way second.rsc works fine and both routers shows full result of both commands.

What’s wrong with 6.44+ (6.44.1 also affected) and how can I use multiline rsc with ssh?