Enabling SSH public key accounts
You can use the security login create command to enable administrator accounts to access an admin or data SVM with an SSH public key.
Before you begin
You must be a cluster administrator to perform this task.
About this task
You must associate the public key with the account before the account can access the SVM .
Refer to Associating a public key with a user account .
You can perform this task before or after you enable account access.
If you are unsure of the access control role that you want to assign to the login account, you can use the security login modify command to add the role later.
For complete command syntax, see the worksheet Creating or modifying login accounts.
Example
The following command enables the SVM administrator account vsadmin1 with the predefined vsadmin-volume role to access the SVM engData1 using an SSH public key:cluster1::>security login create -vserver engData1 -user-or-group-name svmadmin1 -application ssh -authmethod
publickey -role vsadmin-volume
After you finish
If you have not associated a public key with the administrator account, you must do so before the account can access the SVM .
Refer to Associating a public key with an administrator account.