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?
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.
Followed this link and works great