cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
86970
Views
30
Helpful
7
Replies

How to set login username and password for telnet and ssh?

vinothlb1
Level 1
Level 1

How to set login username and password for telnet and ssh?

7 Replies 7

platinum_jem
Level 1
Level 1

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.

without enabling

aaa new-model

how to set username and password for telnet and ssh

username jdoe privilege 15 password cisco

line vty 0 4

login local

hi there

what is the, enable bit for at the end of the following command ?

aaa authentication login default local enable

cheers

Means that you can use the enable password to login if for some reason there is no UN or PW configured.

Thanks for your help.

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.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: