cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

Script Automation - IronPort

Hello, 


I am writing a script to automate the blocking of malicious senders on my IronPort, but I have some questions about how to execute a sequence of commands. I have a Linux server that connects via SSH but I am not able to execute all commands after connecting to the CLI.

 

I did some tests, but they all showed the same error as if it only identified one command.

 

Examples:

 

ssh user@$server "dictconfig" "edit" "7" "new" "teste.com"

 

ssh user@$server

"dictconfig"

"edit"

"7"

"new"

"teste.com"

 

How can I solve this problem?

 

Best Regards

Who Me Too'd this topic