09-17-2009 08:23 PM - edited 03-06-2019 07:46 AM
How to set login username and password for telnet and ssh?
09-17-2009 08:37 PM
aaa new-model
aaa authentication login default local enable
username user1 password mypassword
#### Below is the enable password ###
enable password mypassword
##################
The above command will set user logins for both telnet and SSH.
Hope this helps.
09-17-2009 08:58 PM
without enabling
aaa new-model
how to set username and password for telnet and ssh
09-17-2009 09:37 PM
username jdoe privilege 15 password cisco
line vty 0 4
login local
09-18-2009 02:51 AM
hi there
what is the, enable bit for at the end of the following command ?
aaa authentication login default local enable
cheers
09-18-2009 03:02 AM
Means that you can use the enable password to login if for some reason there is no UN or PW configured.
09-23-2019 09:36 AM
Thanks for your help.
09-23-2019 10:43 AM - edited 09-23-2019 12:04 PM
Hello
The below should provide you with local privilege level 15 access for line interfaces
conf t
username AdmiN privilege 15 secret xxxxx
aaa new-model
aaa authentication login default local-case
aaa authorization exec default local if-authenticated
aaa authorization console
Lastly telnet /ssh will be enabled by default on all vty lines but this can be restricted ingress/egress if you wish to.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide