What is nice way to ssh and run multiple commands in korn shell ? I came across related question and top answer works for me but I specify /bin/bash/ in this and running it over korn shell.
Is it ok to run below list of commands (copied from answer of referenced question) or there can be better way for ksh ?
ssh otherhost /bin/bash << EOF
ls some_folder;
./someaction.sh 'some params'
pwd
./some_other_action 'other params'
EOF