Results 1 to 1 of 1
Hi All,
New to the forum but I have a quick question (or maybe not). I have a script on my local machine. When I run the script it opens ...
- 03-16-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 1
Running commands on remote machine
Hi All,
New to the forum but I have a quick question (or maybe not). I have a script on my local machine. When I run the script it opens up Putty and connects to a remote location through ssh. Now the problem I am having is then running commands from my local script in the remote location. No matter what I seem to try in the script nothing seems to happen in the remote console. I am relatively new to bash scripting so it could be something relatively easy that I am missing here but I have looked up a few things on the web and nothing seems to work for me.
All I basically want to do is ssh from my current location to another one and then chnage into the relevant directory on the new console and then run a script that is stored in the remote location. The output of this script then creates some files that I then want to save/transfer back on my local machine.
Any advice would be greatly appreciated.
Thanks in advance,
Eoin


Reply With Quote