Sun x86 Systems (MOSC)

MOSC Banner

How do I issue ILOM CLI commands using public key?

edited Aug 1, 2019 8:03AM in Sun x86 Systems (MOSC) 4 commentsAnswered
 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":

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center