Enable and password protect telnet logins to Cisco routers

The ability to telnet to a Cisco router makes administration easier. This simple configuration enables telnet logins to the router and protects them with a password.


To enable telnet logins with the password PaSsWoRd:

conf t
line vty 0 4
login
password PaSsWoRd

 

About Quinn McHenry

Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
View more articles by Quinn McHenry

The Conversation

Follow the reactions below and share your own thoughts.

  • joeblow

    Don’t forget these passwords are sent in clear text when using telnet.

  • joeblow

    Also, if you are already on a cisco router and you want to connect and administrate another cisco router through telnet, you need to have made it available through line aux 0 instead of vty 0 4.

  • Allen

    follow your procedure, but i didn’t get the password prompt when i login again throught the telnet command. what’s the problem?

  • Naveen

    ++ Add one more commend if it not work

    conf t line vty 0 4
    login
    password PaSsWoRd
    privilege level 15

  • andrew

    what if you begin with password class and end with login