Switching and Routing
1752280 Members
4232 Online
108786 Solutions
New Discussion

How can I automate SSH session to multiple devices and ....

 
stuart_d1
Advisor

How can I automate SSH session to multiple devices and ....

There has to be a way to ...

- Connect to a switch [IP details taken from a file] via ssh and have the User ID and password entered [again, taken from a file].
- run a series of commands
- export / save the results of these to a single file
- move on to the next device and repeat but append results rather than overwrite or create sequentail files with the results.

Oh, and the caveat this all has to be done from within a Windows environment where we can't install any additional software. That said, we can use powershell (I can't write powershell script to save my life); batch files; putty and / or plink or combinations of anythig that a default Server 2012r2 would have on it.