VTY access trivia.

tunerXtunerX Posts: 447Member ■■■□□□□□□□
You have a problem with an edge router at a remote site. When working with a representative from the ISP you give him the telnet password for the router. After the rep restores connectivity he informs you that he did not need the password to get access to the router.

Why would this happen?


  • KMAN24KMAN24 Posts: 44Member ■■□□□□□□□□
    This seems to easy but could the VTY have been set to no password.

    Line VTY 0 4

  • sbenjaminsbenjamin Posts: 10Member ■□□□□□□□□□
    If you use the login command but set the password to nothing you will get an error when you log into the router. It will say something about a login is required but the password has not been set and then it will close the telnet session. I also noticed I got a message when I entered the login command before setting a password it said you have to enter the password first, so you would have to set the password, do the login command and then set the password to nothing to have this problem
  • kplabkplab Posts: 101Member
    By default, virtual terminals require a password. If you do not set a password for a virtual terminal, it responds to attempted connections by displaying an error message and closing the connection. This feature protects the router from unauthorized remote access. However, you can disable password checking and allow connections without a password using the command "(config-line)#no login".

    For details, refer to:
    www.kp-lab.com - Free CCNA, CCNP, and Network+ Study Guides
  • netheadnethead Posts: 43Member ■■□□□□□□□□
    I've always found that you can't telnet into a router unless a password is set, otherwise you get "password required but none set".
    "The time for talking is over. Now call it extreme if you like, but I propose we hit it hard, and we hit it fast, with a major, and I mean major, leaflet campaign. "
    - Rimmer, Polymorph
  • PaddingtonPaddington Posts: 25Member ■□□□□□□□□□
    You can use the command no login to get that function
  • tunerXtunerX Posts: 447Member ■■■□□□□□□□
    Paddington wrote:
    You can use the command no login to get that function

    You are correct.
Sign In or Register to comment.