Forum

Automate running sh...
 
Notifications
Clear all

Automate running shell command

0 Posts
2 Users
0 Reactions
87 Views
(@joelw23)
New Member
Joined: 6 years ago
Posts: 1
Topic starter  

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.


   
ReplyQuote
(@bpence)
Member Admin
Joined: 7 months ago
Posts: 1375
 

Have you discovered the scripting features? (Options->Properties->Scripts)

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

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

And this:
https://www.celestialsoftware.net/terminal-features/absolutetelnet/ssh-vbscript-api.html

B


   
ReplyQuote
Share: