[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum  |  Linux in General  |  Linux Development & Programming  |  Topic: ssh - execute the script remotely / File not found: ''
Welcome to LinuxCommunity

You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
Pages: [1]
  Print  
Author Topic: ssh - execute the script remotely / File not found: ''  (Read 756 times)
0 Members and 1 Guest are viewing this topic.
cloudsuser
New Member

Offline Offline

Posts: 1


View Profile
« on: May 30, 2010, 03:27:27 AM »

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
File not found: ''

Note i have read write permission to my remote machine script myScript.sh
Logged
gauravbajaj
LST CareTaker
Experienced
*****
Offline Offline

Posts: 644


View Profile
« Reply #1 on: June 11, 2010, 01:12:53 AM »

where the script reside i.e at which dir? is it reside under "/" or "/root"
Logged
dragoncity99
LST CareTaker
Experienced
*****
Offline Offline

Gender: Male
Posts: 529


View Profile
« Reply #2 on: July 23, 2010, 07:22:27 AM »

If you are to execute removely eucalyptus tools, you should be source the profiles first. Without the profiles, your eucalyptus binaries' path are not included in the PATH environment variable. Smiley
Logged
Pages: [1]
  Print  
 
Jump to:  

Search LS
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 08, 2010, 07:24:11 AM

Login with username, password and session length
Navigation
Recent Discussions
[September 06, 2010, 03:51:09 PM]

[September 06, 2010, 07:59:34 AM]

[September 03, 2010, 11:45:53 AM]

[September 02, 2010, 06:21:15 AM]

[September 02, 2010, 03:14:25 AM]

[August 31, 2010, 08:30:56 AM]

[August 31, 2010, 01:03:31 AM]

[August 31, 2010, 12:53:38 AM]

[August 31, 2010, 12:43:01 AM]

[August 22, 2010, 05:55:23 AM]
Members
Total Members: 7755
Latest: judah_clan
Stats
Total Posts: 9561
Total Topics: 2751
Online Today: 7
Online Ever: 128
(April 10, 2010, 10:24:17 PM)
Users Online
Users: 0
Guests: 8
Total: 8
Privacy Policy| Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Theme & TinyPortal v0.9.8 © Bloc