Comware

 View Only
last person joined: 2 days ago 

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

This thread has been viewed 0 times
  • 1.  How can I automate SSH session to multiple devices and ....

    Posted Apr 06, 2018 08:15 AM

    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.


    #ssh