View Single Post
  #1 (permalink)  
Old May 28th, 2010, 02:00 AM
cloudsuser cloudsuser is offline
Authorized User
 
Join Date: May 2010
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default ssh - execute the script remotely / File not found: ''

ssh - execute the script remotely / File not found: ''

I am uisng amazon ec2-api-tool & ec2-ami-tool

i was unable to execute through ssh.
Getting error as

File not found: ''

The same script i can able to run directly in client machine successfully.

Through ssh i was uanble to run the script remotely
Source : myScript.sh
ec2-create-volume --size $1 --availability-zone $2

$ssh -i key.pem root@myhost ./myScript.sh 10 us-east-1a

Note: Reference link
1) How to create an ebs image from an existing ec2 instance
2) Building EBS Boot and S3 Based AMIs for EC2 with Ubuntu vmbuilder - Alestic.com

What i might have done mistake...?
Reply With Quote