Hi, I have two pcs. One FC4 and one Windows XP. I have to run a script test.shevery time I complete a particular task. To do that I login to Linux thru ssh from XP machine and run the script manually. I want to automate all of this i.e., from loging in to FC4 till the execution of the Bash script. I think it is not possible thru telnet. I could not find anything in google. any suggestions or pointers? thanks. Best Regards, Raj
I have two pcs. One FC4 and one Windows XP. I have to run a script test.shevery time I complete a particular task. To do that I login to Linux thru ssh from XP machine and run the script manually. I want to automate all of this i.e., from loging in to FC4 till the execution of the Bash script. I think it is not possible thru telnet. I could not find anything in google. any suggestions or pointers? thanks.
1. If its not neccessary to log in from windows && you have to run the script periodically, use cron jobs on your FC4 machine.
2. If you can log in to the FC4 from another linux based machine, you can use `expect` scripts to automate ssh logins and running the script on your host.
Chiragz
--------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
On 10/19/05, Varadarajan V nirvanar@gmail.com wrote:
I want to automate all of this i.e., from loging in to FC4 till the
execution of the Bash script.
Use REXX or if you are more comfy with ssh then setup ssh via cygwin and then store your XP public ssh key on the remote linux machine to enable passwordless login. The script can reside on your remote linux machine.
invocation of remote script will then be a simple
ssh <remote-ip> <script-path and name>
from cywin terminal. Of course there could be other ways like invoking ssh from task scheduler of windows.
regards, C