Dell POWEREDGE M1000E User Manual
Page 156

This section describes simple instructions to generate a public/private key pair for both applications. For additional or
advanced usage of these tools, see the application Help.
To use the PuTTY Key Generator to create the basic key for systems running Windows clients:
1.
Start the application and select SSH-2 RSA or SSH-2 DSA for the type of key to generate (SSH-1 is not supported).
2.
Enter the number of bits for the key. The number should be between 768 and 4096.
NOTE: The CMC may not display a message if you add keys less than 768 or greater than 4096, but when you
try to log in, these keys it fails.
3.
Click Generate and move the mouse in the window as directed.
After the key is created, you can modify the key comment field.
You can also enter a passphrase to make the key secure. Ensure that you save the private key.
4.
You have two options for using the public key:
– Save the public key to a file to upload later.
– Copy and paste the text from the Public key for pasting window when adding the account using the text option.
Generating Public Keys for Systems Running Linux
The ssh-keygen application for Linux clients is a command line tool with no graphical user interface. Open a terminal
window and at the shell prompt type:
ssh-keygen –t rsa –b 1024 –C testing
where,
–t must be dsa or rsa.
–b specifies the bit encryption size between 768 and 4096.
–c allows modifying the public key comment and is optional.
The
uploading the file.
RACADM Syntax Notes for CMC
When using the racadm sshpkauth command, ensure the following:
•
For the –i option, the parameter must be svcacct. All other parameters for -i fail in CMC. The svcacct is a
special account for public key authentication over SSH in CMC.
•
To log in to the CMC, the user must be service. Users of the other categories do have access to the public keys
entered using the sshpkauth command.
Viewing Public Keys
To view the public keys that you have added to the CMC, type:
racadm sshpkauth –i svcacct –k all –v
To view one key at a time, replace all with a number from 1 – 6. For example, to view key 2, type:
racadm sshpkauth –i svcacct –k 2 –v
Adding Public Keys
To add a public key to the CMC using the file upload -f option, type:
racadm sshpkauth –i svcacct –k 1 –p 0xfff –f
NOTE: You can only use the file upload option with remote RACADM. For more information, see
RACADM
Command Line Reference Guide for iDRAC7 and CMC
.
156