API Guide

The no version of the command removes the SSH password-less configuration for the specified user
name.
Example
OS10(config)# username user10 sshkey filename /test_file.txt
OS10(config)# do show running-configuration users
username admin password $6$q9QBeYjZ
$jfxzVqGhkxX3smxJSH9DDz7/3OJc6m5wjF8nnLD
7/VKx8SloIhp4NoGZs0I/UNwh8WVuxwfd9q4pWIgNs5BKH. role sysadmin
username user10 password $6$rounds=656000$G10VRFTJB291ekwo
$iTGf0zd4bTUcBBpI
Vsbr6oStnUZMydN5lDs4WE6G3XHEtWbcKrGTeAo1wEF0cenEgRRPzi3SMmYyzAHCCC8wS0
role
sysadmin
username user10 sshkey filename /test_file.txt
Supported
Releases
10.4.1.0 or later
Limit concurrent login sessions
To avoid an unlimited number of active sessions on a switch for the same user ID, limit the number of console and remote
connections. Log in from a console connection by cabling a terminal emulator to the console serial port on the switch. Log in to
the switch remotely through a virtual terminal line, such as Telnet and SSH.
Configure the maximum number of concurrent login sessions in CONFIGURATION mode.
OS10(config)# login concurrent-session limit number
limit number Sets the maximum number of concurrent login sessions allowed for a user ID, from 1 to 12; default
10.
When you configure the maximum number of allowed concurrent login sessions, take into account that:
Each remote VTY connection counts as one login session.
All login sessions from a terminal emulator on an attached console count as one session.
Configure concurrent login sessions
OS10(config)# login concurrent-session limit 4
If you log in to the switch after the maximum number of concurrent sessions are active, an error message displays. To log in to
the system, close one of your existing sessions.
OS10(config)# login concurrent-session limit 4
Too many logins for 'admin'.
Last login: Wed Jan 31 20:37:34 2018 from 10.14.1.213
Connection to 10.11.178.26 closed.
Current sessions for user admin:
Line Location
2 vty 0 10.14.1.97
3 vty 1 10.14.1.97
4 vty 2 10.14.1.97
5 vty 3 10.14.1.97
Security
1047