Feature request: Make "/system ssh" work again in scripts

It would be great, if “/system ssh” would work again in scripts.
The problem ist known, that it works fine on command line, but fails in scripts.