Learn How We Can Help You Keep Teleworkers Protected During the COVID-19 Crisis

Automation Scripts


SSH to a second device within Python script in NetMRI

Posts: 44
285     0


Not sure if this has been asked before but is there a way of connecting to a second device using SSH using Python within the same script. 

So we use "easy" to connect to the main device, but we need to potentially configure a neighbour device in the same job. For that we would need to identify the DeviceID, probably through a CDP neighbour call, but not sure how to connect to that device (in Python)


I did find an old Perl script from Sif, that might do the trick but we need to use Python at this stage.

(Re: Perl API - Passing script variables from one script to another)







Showing results for 
Search instead for 
Do you mean 

Recommended for You