NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

"security login create.." failed: failed to set field "role" to "xyz"

netappmagic
3,752 Views

I am trying to setup passwordless ssh connection, but got the following error. By using the same command, it was successful on the other cluster. Could you please advice what could be the cause?

 

What I can tell is that these 2 clusters are running two diferent version one is 8.2.3, and the other is 8.2.1P1

 

clu2::> security login create -username xyz -application ssh -authmethod publickey -profile xyz

Error: command failed: failed to set field "role" to "xyz"

2 REPLIES 2

JSHACHER11
3,705 Views

replace 'profile' with 'role'

 

security login create -username xyz -application ssh -authmethod publickey -role xyz

 

(I assume that there is already a role called 'xyz'?)

 

 

KamilB
3,658 Views
 
Public