WFA commands for creating a user with a role suitable for SSH publickey authentication and adding the publickey

by Frequent Contributor on ‎2013-10-30 02:17 PM

Attached are two commands that can be used within WFA 2.1 or higher.  The first command will create a user on a cDOT system with a role that is suitable for SSH publickey authenticaiton, and the second command can be used to add a SSH publickey for a user a cDOT system.  Custom dictionary entries are also included with these commands.

Comments
AdaikkappanArumugam Former NetApp Employee

I was searching for the the powershell equivalent to add a publickey to cdot. I couldnt find one. Was trying to use Invoke-NcSsh and stubmled upon this. 

The commands confirmed that the cmdlets arent availabe.

 

Thanks.

Warning!

This NetApp Community is public and open website that is indexed by search engines such as Google. Participation in the NetApp Community is voluntary. All content posted on the NetApp Community is publicly viewable and available. This includes the rich text editor which is not encrypted for https.

In accordance to our Code of Conduct and Community Terms of Use DO NOT post or attach the following:

  • Software files (compressed or uncompressed)
  • Files that require an End User License Agreement (EULA)
  • Confidential information
  • Personal data you do not want publicly available
  • Another’s personally identifiable information
  • Copyrighted materials without the permission of the copyright owner

Files and content that do not abide by the Community Terms of Use or Code of Conduct will be removed. Continued non-compliance may result in NetApp Community account restrictions or termination.