I am looking for to execute the shell script through ssh. Getting error
as File not found: ''
1) $ssh -i key.pem root@host -C sh /root/myScript.sh
Output: File not found: ''
2) $ssh -i key.pem root@host -C /bin/sh ec2-create-volume --size 10
--availability-zone us-east-1a
Output: File not
I am looking for to execute the shell script through ssh. Getting error
as File not found: ''
1) $ssh -i key.pem root@host -C sh /root/myScript.sh
Output: File not found: ''
2) $ssh -i key.pem root@host -C /bin/sh ec2-create-volume --size 10
--availability-zone us-east-1a
Output: File not