Microsoft Virtualization Discussions

Scripting Data OnTAP Commands Using Plink

TMADOCTHOMAS

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

JGPSHNTAP

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 🙂

TMADOCTHOMAS

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

TMADOCTHOMAS

Very helpful link, thank you!

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public