Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Open Source > Linux
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Linux General discussion of programming the various flavors of Linux operating systems.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Linux section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old May 28th, 2010, 03:00 AM
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
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a Script to Monitor Free Disk Space remotely Vishal Saini Windows Server 0 June 22nd, 2007 10:31 AM
can't execute code from a freed script violetcrystal Javascript 4 April 21st, 2006 06:04 AM
Automated Execute Script itHighway Classic ASP Professional 3 November 21st, 2005 03:03 PM
Automated Execute Script itHighway Classic ASP Basics 0 November 17th, 2005 12:36 PM



All times are GMT -4. The time now is 10:45 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.