JAMS can log into network devices such as NetApp Servers or Cisco Routers and Switches using a modified version of the SSH Execution Method.
To accomplish this, create a new Execution Method for the device in question. Then, create a JAMS Job using the new Execution Method.
How to Create an SSH Execution Method to Log into a Network Device
- Open the JAMS Client with Administrator permissions.
- Open the Execution Methods Shortcut.
- Click on the Add button to add a new Execution Method.
- Name the Execution Method, select Base Method SSH, Edit After Adding, and click Ok.
- The Properties dialog for the newly created Execution Method appears. Click the Properties tab. Select Routine as the Method Type. Leave Extension blank.
- Select the Job Properties tab, and click the Add icon to add a new Job Property.
- From the Add a Property dialog box, expand the Execute section. In the SSH Prompt property field, enter the Regular Expression (regex) that reflects the SSH Prompt of your device. In the example below, we use regex:+[$#] $ to search for characters on a line ending in "$#". Your regex may vary.
- Click Ok to add the Job Property, the SSH Prompt regex, to the SSH Execution Method.
- Save and Close the Execution Method.
- Restart the JAMS Client. The next time you Create a Job, you will see the new SSH Execution Method, which you may select to connect to your network device.
See Also
Comments