Microsoft Virtualization Discussions

Scripting Data OnTAP Commands Using Plink

TMADOCTHOMAS
5,236 Views

Has anyone had success with scripting Data OnTAP commands using Plink?  I am running up against a security issue that is preventing me from moving forrward.  Since I don't want a username and password to be stored in the Windows batch file in plain text, I am planning to use Plink/Putty/Pageant with SSH authentication.  If I am reading correctly, the passphrase has to be re-entered upon reboot if the keys are encrypted.  This will not work as we reboot monthly for patching and we don't want to have to re-enter a passphrase on each reboot.  Any suggestions?

4 REPLIES 4

TMADOCTHOMAS
5,236 Views

As an addendum to this post, I have read KB article https://kb.netapp.com/support/index?page=content&id=1011670, however it doesn't appear to address this issue.  It may be that re-entering the passphrase is only needed when using Pageant.  Continuing to research.

WillFulmer
5,236 Views

TMADOCTHOMAS
5,236 Views

Very helpful link, thank you!

JGPSHNTAP
5,236 Views

This is the pure reason Powershell toolkit was created.  You need to use the powershell toolkit and their API's to do it.  Batch is dead 🙂

Public