Oracle VM (OVM) (MOSC)

MOSC Banner

ovmcli public authentication stopped working?

edited Aug 6, 2015 10:00AM in Oracle VM (OVM) (MOSC) 1 commentAnswered

Hi,

I've set up public key authentication to log into ovmcli without having to use a password. This worked for a while and has now stopped working(?)

OVMM: 3.3.2_1072

I'm using port 11000, because OEM is installed on the same server and it uses port 10000

Did this:

- /etc/hosts: added "ovmadmin" as an alias for my server

- create a passwordless public key pair (rsa) "/root/.ssh/ovmadmin" "/root/.ssh/ovmadmin.pub"

- ln -s /root/.ssh/ovmadmin.pub /root/.ssh/ovm_authorized_keys

- /root/.ssh/config:

Host ovmadmin

  User admin

  Port 11000

  IdentityFile ~/.ssh/ovmadmin

After that "ssh ovmadmin", logged me in to OVM.

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