VKontakte.DJ
forum traveling
 

Celestial Software

...better by design

Home Support SSH Client Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Automate running shell command (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Automate running shell command
#8900
Automate running shell command 5 Years, 6 Months ago  
I'm trying to automate a connection to do the following:

Login to a linux server automatically and run 2 simple commands. I need to cd to a directory and then run a bash script. I've been playing with it for an hour or so and I can't seem to find where this can be done. I've got the login part down. I just don't see where I can input the 2 other commands.

Sorry if this is a dumb question. Thank you in advance.
joelw23 (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
The administrator has disabled public write access.  
#8902
Re:Automate running shell command 5 Years, 5 Months ago  
Have you discovered the scripting features? (Options->Properties->Scripts)

You can write a VBScript that with some basic send/wait structure.

Check this out:
www.celestialsoftware.net/table/script-examples.html

And this:
www.celestialsoftware.net/terminal-featu...sh-vbscript-api.html

B
bpence (Admin)
Admin
Posts: 1406
graph
User Offline Click here to see the profile of this user
Logged Logged  
 
Brian Pence
Celestial Software
SSH , SFTP, and Telnet in a tabbed interface for Windows XP, Vista, Mobile, and others
 
The administrator has disabled public write access.  
Go to top