Login Security Commands
line console 0
Changes the context to console configuration mode.
line vty 1st-vty last-vty
Changes the context to vty configuration mode for the range of vty lines listed in the command.
password pass-value
Console and vty configuration mode. Lists the password required if the login command (with no other parameters) is configured.
login
Console and vty configuration mode. Tells IOS to prompt for a password
login local
Console and vty configuration mode. Tells IOS to prompt for a username and password, to be checked against locally configured username global configuration commands on this switch or router.
crypto key generate rsa [modulus 360..2048]
Global command. Creates and stores (in a hidden location in flash memory) the keys required by SSH.
username name secret pass-value
Global command. Defines one of possibly multiple usernames and associated passwords, used for user authentication. Used when the login local line configuration command has been used.
transport input {telnet | ssh | all | none}
vty line configuration mode. Defines whether Telnet and/or SSH access is allowed into this switch. Both values can be configured on one command to allow both Telnet and SSH access (the default).