Installation Manual
4. Upload the SSH keys in one of the following ways:
– Upload the key file.
– Copy the contents of the key file into the text box
For more information, see iDRAC7 Online Help.
5. Click Apply.
Uploading SSH Keys Using RACADM
To upload the SSH keys, run the following command:
NOTE: You cannot upload and copy a key at the same time.
• For local RACADM: racadm sshpkauth -i <2 to 16> -k <1 to 4> -f <filename>
• From remote RACADM using Telnet or SSH: racadm sshpkauth -i <2 to 16> -k <1 to 4> -t
<key-text>
For example, to upload a valid key to iDRAC7 User ID 2 in the first key space using a file, run the following command:
$ racadm sshpkauth -i 2 -k 1 -f pkkey.key
NOTE: The -f option is not supported on telnet/ssh/serial RACADM.
Viewing SSH Keys
You can view the keys that are uploaded to iDRAC7.
Viewing SSH Keys Using Web Interface
To view the SSH keys:
1. In Web interface, go to Overview → iDRAC Settings → Network → User Authentication → Local Users .
The Users page is displayed.
2. In the User ID column, click a user ID number.
The Users Main Menu page is displayed.
3. Under SSH Key Configurations, select View/Remove SSH Key(s) and click Next.
The View/Remove SSH Key(s) page is displayed with the key details.
Viewing SSH Keys Using RACADM
To view the SSH keys, run the following command:
• Specific key — racadm sshpkauth -i <2 to 16> -v -k <1 to 4>
• All keys — racadm sshpkauth -i <2 to 16> -v -k all
Deleting SSH Keys
Before deleting the public keys, make sure that you view the keys if they are set up, so that a key is not accidentally
deleted.
Deleting SSH Keys Using Web Interface
To delete the SSH key(s):
1. In Web interface, go to Overview → iDRAC Settings → Network → User Authentication → Local Users .
The Users page is displayed.
2. In the User ID column, click a user ID number.
The Users Main Menu page is displayed.
121