simple question about VTY

Answered Question
Jun 5th, 2009
User Badges:

Hi there,

when i want to configure ssh to be used in telnet ,do i need to enter the vty like using these commands:

(config)# line vty 0 1180


do i really need 1180 , and what does it refer to .

Correct Answer by Farrukh Haroon about 7 years 9 months ago

With newer IOS releases (relatively new), the number of VTY lines have been increased (from 5/16 to 1000+). You need to do 'transport input all' or 'transport input telnet ssh' on the lines to allow telnet & ssh together.


You can just configure as many lines as you need, for example lines 0 to 15 and leave the rest. This is a good template to secure IOS configurations, check the VTY configuration section:


http://www.cymru.com/Documents/secure-ios-template.html


Regards


Farrukh

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 3 (1 ratings)
Loading.
Correct Answer
Farrukh Haroon Sat, 06/06/2009 - 23:37
User Badges:
  • Red, 2250 points or more

With newer IOS releases (relatively new), the number of VTY lines have been increased (from 5/16 to 1000+). You need to do 'transport input all' or 'transport input telnet ssh' on the lines to allow telnet & ssh together.


You can just configure as many lines as you need, for example lines 0 to 15 and leave the rest. This is a good template to secure IOS configurations, check the VTY configuration section:


http://www.cymru.com/Documents/secure-ios-template.html


Regards


Farrukh

hkourbani Sun, 06/07/2009 - 22:32
User Badges:

thx man ,

quote :"You can just configure as many lines as you need"

That's exactly what i am looking for .

Actions

This Discussion