How do I issue ILOM CLI commands using public key?
I've tried to set up ssh public key login on a X3-2L with ILOM 3.1.
Upload of my public key worked as documented:
-> show /SP/users/sunusr/ssh/keys/1
/SP/users/sunusr/ssh/keys/1
Targets:
Properties:
fingerprint = 76:93:1f:58:73:33:af:08:af:00:e4:d4:80:52:e2:d6
algorithm = ssh-rsa
embedded_comment = ex22238@upsdev01
bit_length = 1024
load_uri = (Cannot show property)
clear_action = (Cannot show property)
Using this key, I now can login to that ILOM without a password:
upsdev01:ex22238> ssh sunusr@10.58.173.192
Oracle(R) Integrated Lights Out Manager
Version 3.1.2.12 r74388
Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
->
But when I try to run any unattended command, I'll get "invalid credentials":
0