Skip to main content
Skip table of contents

Configuring task for SSH/PowerShell/Telnet with last line as output

You can create your own task library such that the output of the task is shown as the last line of the output. This means, only the last line of the output, of the executed task, will be seen in Privileged Task Management logs. These tasks can run on a Windows or Unix asset by specifying the respective asset type. You may click on the History button to view the history of a job and see the output for the task in the logs as per your choice. To add task library for SSH/PowerShell/Telnet to get last line of the output, you need to perform below recommended steps:

Procedure:

  1. Login to the system and select PAM from the product navigator.
  2. Go to Manage → Task Library → + Add Task Library
  3. Select the Base Access Type → SSH/PowerShell/Telnet
  4. Provide the command that needs to be configured as a task.
  5. Select Log Display option → Display Last Step Output
  6. Provide tags if necessary and fill in the details.
  7. Click on Save.

For telnet command execution, you need to make sure that the port no of asset should be default telnet port i.e. 23.




JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.