OcNOS-RON : System Management Guide : System Management Command Reference : Secure Shell : username keypair
username keypair
Use this command to create a user account.
Command Syntax
username USERNAME keypair rsa
username USERNAME keypair dsa
username USERNAME keypair rsa length <1024-4096>
username USERNAME keypair rsa length <1024-4096> force
username USERNAME keypair rsa force
username USERNAME keypair dsa force
Parameters
USERNAME
User identifier
rsa
Rivest, Shamir, and Adelman (RSA) public-key cryptography SSH server key
dsa
Digital System Algorithm (DSA) SSH key
<1024-4096>
Number of bits to use when creating the SSH server key; this parameter is only valid for RSA keys (DSA keys have a default length of 1024)
force
Forces the replacement of an SSH key
Default
DSA keys have a default value of 1024.
RSA keys have a minimum key length of 768 bits and the default length is 2048.
By default the system has RSA/DSA public/private key pair placed in /etc/ssh/. The force option is used if the user wants to regenerate the ssh rsa keys. The same thing applies for dsa also.
Command Mode
Execute mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#username fred keypair rsa
 
 
Last modified date: 08/28/2023