05-06-2021 09:59 AM - edited 05-06-2021 09:59 AM
Hello everyone,
I'm practicing in a 2960 with Packet Tracer. I wanted to test virtual lines access with ssh version 2.
I tried setting from 2 to 10 with
#line vty 2 10
and it doesn't work. I'm asked about password, but I never log in, even when I'm sure password is correct.
But if I try from 0 to 10 it does work.
#line vty 0 10
It's true all examples I read about start in 0. Is it mandatory or I'm missing something?
Thank you in advance.
Solved! Go to Solution.
05-07-2021 12:13 AM
Hello
On real hardware by default lines 0 4 are used by default, if you want telnet/ssh on to a specific vty line then you can enable that line and then append a rotary value to it and connect on that value,I very much doubt you can do this in PT.
Example:
line vty 10
transport input telnet
rotary 99
telnet x.x.x.x 3099
05-08-2021 01:57 PM
Hello
yes that is correct you can specify which vty line to use -rotary provides an example of that
05-06-2021 11:00 AM
Hello,
what exactly are you configuring the lines for ? For SSH/Telnet ? What are you trying to accomplish ?
05-07-2021 03:47 AM
I wanted to use the virtual lines to access via ssh.
Thank you again.
05-07-2021 12:13 AM
Hello
On real hardware by default lines 0 4 are used by default, if you want telnet/ssh on to a specific vty line then you can enable that line and then append a rotary value to it and connect on that value,I very much doubt you can do this in PT.
Example:
line vty 10
transport input telnet
rotary 99
telnet x.x.x.x 3099
05-07-2021 03:50 AM
Hello, Paul,
Thank you very much for your time.
I had to look up for that rotary command I never used before. So it seems it might be a limitation of Packet Tracer because in your experience with physical devices it is possible to configure access via ssh in virtual lines without starting the range in 0. Did I get it right?
Thank you again.
05-08-2021 01:57 PM
Hello
yes that is correct you can specify which vty line to use -rotary provides an example of that
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