Users Guide

sysadmin
username user10 sshkey filename /test_file.txt
Supported
Releases
10.4.1.0 or later
crypto ssh-key generate
Regenerates the public keys used in SSH authentication.
Syntax
crypto ssh-key generate {rsa bits | ecdsa bits | ed25519}
Parameters
rsa bits Regenerates the RSA key with the specified bit size: 2048, 3072, or 4096; default
2048.
ecdsa bits Regenerates the ECDSA key with the specified bit size: 256, 384, or 521; default
256.
ed25519 Regenerates the Ed25519 key with the default bit size.
Default The SSH server uses default public key lengths for client authentication:
RSA key: 2048 bits
ECDSA key : 256 bits
Ed25519 key: 256 bits
Command Mode EXEC
Usage
Information
If necessary, you can regenerate the public keys used by the SSH server with a customized bit size. You
cannot change the default size of the Ed25519 key. The crypto ssh-key generate command is
available only to the sysadmin and secadmin roles.
Example
OS10# crypto ssh-key generate rsa 4096
Host key already exists. Overwrite [confirm yes/no]:yes
Generated 4096-bit RSA key
OS10#
Supported
Releases
10.4.1.0 or later
login concurrent-session limit
Configures the maximum number of concurrent login sessions allowed for a user ID.
Syntax
login concurrent-session limit number
Parameters limit number Enter the limit of concurrent login sessions, from 1 to 12.
Default 10 concurrent login sessions
Command Mode CONFIGURATION
Usage
Information
The total number of concurrent login sessions for the same user ID includes all console and remote
connections, where:
Each remote VTY connection counts as one login session.
All login sessions from a terminal emulator on an attached console count as one session.
The no version of the command disables the configured number of allowed login sessions.
Example
OS10(config)# login concurrent-session limit 7
Supported
Releases
10.4.1.0 or later
Security 1375