Raritan Computer EMX2-111 Manual Do Utilizador

Página de 379
Chapter 10: Using the Command Line Interface 
 
302
 
 
 
a.  Open your SSH public key with a text editor. 
b.  Copy all contents in the text editor. 
c.  Paste the contents into the terminal. 
d.  Press Enter. 
Tip: To remove an existing SSH public key, simply press Enter without 
typing or pasting anything when the system prompts you to input the 
contents. 
 
 
Example 
This section illustrates how to specify an SSH public key for an existing 
user "May" if the SSH public key-based authentication is enabled. See 
Determining the SSH Authentication Method
 (on page 255). Your 
SSH public key contents should be different from the contents displayed 
in this example. 
 
To specify the SSH public key for the user "May": 
1.  Make sure you have entered the configuration mode. See 
Entering 
the Configuration Mode
 (on page 231). 
2.  Type the following command  and press Enter. 
config:# 
user modify May sshPublicKey 
1.  The system prompts you to enter the contents of the SSH public key. 
2.  Open the SSH public key using a text editor. You should see the 
SSH public key contents similar to the following. 
 
 
 
3.  Select and copy all contents of the SSH public key. 
4.  Paste the contents in the terminal. 
5.  Press Enter.