Generating user key files
Configure the SSH parameters to generate DSA user key files.
Procedure
Example
Create the DSA user key file with the user access level set to read-write-all and size of the DSA user key set to 1024 bits:
Switch:1>enable Switch:1#configure terminal Switch:1(config)#ssh dsa-user-key rwa size 1024
Variable Definitions
The following table defines parameters for the ssh dsa-user-key command.
Variable |
Value |
---|---|
WORD<1–15 > |
Specifies the user access level. If enhanced secure mode is disabled, the valid user access levels for the switch are:
If you enable enhanced secure mode, the switch uses role-based authentication. You associate each username with a specific role and the appropriate authorization rights to commands based on that role. If enhanced secure mode is enabled, the valid user access levels for the switch are:
|
size <1024–1024> |
Specifies the size of the DSA user key. The default is 1024 bits. |