BladeSystem - General
1753905 Members
9232 Online
108810 Solutions
New Discussion юеВ

Re: OA Administrator 'ADD SSHKEY'

 
SOLVED
Go to solution
Adam Garsha
Valued Contributor

OA Administrator 'ADD SSHKEY'

I am trying to add an ssh key via the OA cli for the Administrator account.

When I try to add the key in an interactive session I get:

"This command is only available in script mode."

When I try to run it remotely via an ssh command callout, I get:

"Secure Shell authorized key file replaced."

Which looks promissing but when I try to use it, no dice. Further, when I try to show it for the Administrator account I see:

"There is no SSH key installed."

What gives? Is there a special key type or format required (e.g. openssh vs. ???)

I am trying to use a public openssh style key that works well against unix systems.
5 REPLIES 5
Raghuarch
Honored Contributor

Re: OA Administrator 'ADD SSHKEY'

The key file must contain the Administrator name at the end of the public key. Each key is associated with the Administrator (Inbuilt)account.

If you try with User with Admin Privilege it doesn't work.

Adam Garsha
Valued Contributor

Re: OA Administrator 'ADD SSHKEY'

Right, I am using Administrator account and I tried putting "Administrator" at the end of the key.
Raghuarch
Honored Contributor
Solution

Re: OA Administrator 'ADD SSHKEY'

I tried to upload using Putty Key Generator:
below is the link.
http://www.ecora.com/ecora/support/putty/putty.asp

I did it from th OA GUI. It worked fine.

IS there a special key type or format required?
I don't know. I tried SSH-2 RSA format.
Adam Garsha
Valued Contributor

Re: OA Administrator 'ADD SSHKEY'

Oops I applied points too fast. Where in OA Gui can you put in an ssh key. I see certificate, but ssh public key doesn't work there.
Raghuarch
Honored Contributor

Re: OA Administrator 'ADD SSHKEY'

Login to OA GUI. in the left side you see Systems and Devices.
Under Enclosure Information Click on Users/Authentication and Select SSH Administration.
Add the key in Authorized SSH Keys.

Refer to the attachment.