Data Infrastructure Management Software Articles and Resources

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

arndt

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.

Please Note:

All content posted on the NetApp Community is publicly searchable and viewable. Participation in the NetApp Community is voluntary.

In accordance with 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 (PII)
  • Copyrighted materials without the permission of the copyright owner

Continued non-compliance may result in NetApp Community account restrictions or termination.

Replies
AdaikkappanArumugam

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.

All Community Forums
Public