I'm trying to run the following command:
ssh -i FILENAME.pem [email protected] su --session-command="./update.sh"
I keep getting the error message:
standard in must be a tty
How can I SSH
on to the server then run the file called ./update.sh
?