If you place a script on the remote host to which the Agent that executes this Task should connect, you can use a Secure Shell command to call this script.Executing commands is one of the core tenants of computing. This output can also be viewed using Notepad. When this Task is executed, any output is shown in the detailed Job history per Agent, on a separate tab Console Output.If you use an external editor to edit a script, Ivanti Automation will disregard any characters that exceed this limit.f For more information on how to configure file associations, see. After creating or editing the script, it will be copied from the external editor to the Script tab. This makes it easier to create complex scripts and troubleshoot existing ones. Use the Open in editor button to open an external editor that is associated with the specified file extension in the File extension of script field.Ivanti Automation will save this file in the temporary folder on the Agent that executes the Task. This extension is used to save the script as a script file in the specified format when the Task is executed. Use the File extension of script field to specify the file extension that Ivanti Automation should use.These Variables, functions and parameters will be parsed when the Task is executed. You can use Ivanti Automation functions, Ivanti Automation parameters and environment Variables in Secure Shell commands. You can prevent situations like these by selecting Terminate process when timeout expires. In certain situations, Agents can continue to execute the remaining commands in the script when the timeout expired.If the use of parameters, functions and/or variables in the field Timeout command execution after results in non-numeric values (text) when the Task is executed, the timeout will use a fall back value of 1 minute.You can use parameters, functions and variables. In the field Timeout command execution after, you can specify a maximum number of 9999 minutes (about 166 hours and 40 minutes).The standard output parameter can contain a maximum of 4MB. With the option Set parameter with standard output you can place the standard output into a parameter, for use in another Task in the Module (e.g. Before you select this option, please make sure the sudoers configuration file permits access to execute the su command to the relevant user account. The sudo command is a program for certain Linux and Unix operating systems that allows a permitted administrator to run commands with the security privileges of another user (normally the root). With the option Run script as superuser, you can run scripts with sudo.If selected, Ivanti Automation will create a script file in the user's home directory on the remote host. With the option Create script on remote host you can run specified Shell commands as a script on a remote host, instead of executing them per command.You can specify Secure Shell commands manually (on the Commands tab), but you can also use Secure Shell commands that have been stored as a Resource.You can use user/password authentication or user/certificate authentication.NET Framework 4.5.2 (Full version) is required. When running this Task on a Agent+, Microsoft. NET Framework 2.0 must be installed on the Agent running this Task. Secure Shell commands can be executed on devices on which the SSH service is running.3des-ctr 192-bit (3-key) triple DES encryption in CTR mode.aes128-cbc 128-bit AES encryption in CBC mode.aes128-ctr 128-bit AES encryption in CTR mode.aes192-cbc 192-bit AES encryption in CBC mode.aes192-ctr 192-bit AES encryption in CTR mode.aes256-ctr 256-bit AES encryption in CTR mode. The following encryption algorithms are supported: These custom Tasks can be scheduled on any Agent, who will then connect to the specified computer and execute the specified commands.įor example, if the servers in a server farm are equipped with a remote access card, you can use this Task to power down most servers in the server farm during the weekend and reboot these servers when necessary. The Task Execute Secure Shell (SSH) Commands allows you to build your own, custom Ivanti Automation Tasks that use Secure Shell commands. It can be used to access shell accounts on Linux and Unix systems, and on various devices, such as ethernet switches. SSH is a network protocol that allows you to connect to a shell on remote devices via a secured connection and to execute commands on these devices.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |