This post is more than 5 years old
2 Intern
•
615 Posts
0
5463
June 13th, 2016 13:00
Import a public ssh key for a specific DRAC user via racadm?
Is there a racadm command to upload and install a public ssh key into a specific drac user's account.
In the GUI I see functionality to add 4 separate keys per user allowing ssh access from the remote devices that have the private key without a password.
I have not found a command for this in the latest iDRAC 7/8 CLI PDF.
I also do not see that installed public keys are exported with a Server Profile export which would mean that access would be lost upon profile import. Is this correct? If so will this be remedied in future iDRAC releases?
No Events found!



DELL-Shine K
4 Operator
•
3K Posts
1
June 13th, 2016 21:00
You can use "racadm sshpkauth" to import or delete public SSH key to iDRAC users. You can get more detail on usage by running help command "racadm help sshpkauth" or from RACADM CLI guide (link given below)
<ADMIN NOTE: Broken link has been removed from this post by Dell>
Importing server configuration file will not delete SSH key from iDRAC
cameronredux
2 Intern
•
615 Posts
0
June 13th, 2016 22:00
Ah there it is! Thank you Shine! :)
I am not sure how I missed in my search of the PDF.
So it looks like I will not be able to configure SSH keys using Server Profile imports for initially configuring new servers and will need to run a post racadm command to import the keys.
I would like to request the feature of adding the keys to Server Profiles.