I do agree with JAB on this one. But my first thought was if they aren't already using a solution... Why not just SuperPutty.
In our environment we modify the two wrapper programs and we do our GPFS control via a non root system ID, say "gpfs" user with SSH enabled on that ID.
So modify the remote shell command and remote file copy commands to a modified perl script, leveraging that user's ssh is and access... And we do our environments equivalent of sudo to launch that user's needed commands as privileged.
In our space we needed mmremote, mmsdrrestore, scp, and echo to run as privileged commands. And everything worked fine from there once those were granted.
Trial and error, we put a debug log into that script so we could figure out which commands it was actually calling.
Using copilot was able to convert my Perl script to Python.. and have AI explain it back to me.. we probably haven't look at this code in 7+ years, it's been pretty reliable.
Hope that helps!