ONTAP Discussions

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

netappmagic
2,871 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
2,824 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
2,777 Views
 
Public