Executing some shell in ec2 instance remotely March 16, 2016June 11, 2016 yigitdarcinLeave a comment just call it by: ssh -i your.pem ec2-user@yourserver ~/./yourfile.sh