Can you provide further input after running one script over SSH in iOS
No, you can't enter a password. The only thing that I can think of is adding the commands you want to be able to run to the sudoers file.
I'm not sure how to works in Linux but on macOS you put a file in /etc/sudoers.d/something using the visudo command.
There seems to be an example page for Linux here: https://phoenixnap.com/kb/linux-sudo-command that might be useful as a starting point.