in reply to How to remotely execute a command that requires input?
Update: To clarify, ssh's authentication facilities will help run the remote script as the right user to begin with, replacing sudo; they won't help you simulate keyboard input to another script. For that, use ssh -t and Expect.
|
|---|