03-31-2008 01:40 AM - edited 03-03-2019 09:20 PM
Hi All,
I have just upgraded my WS-2960G-48TC Switches, enabled SSH but I can access the Switch using both protocols - how can I disable Telnet and permit SSH
03-31-2008 01:42 AM
You will need to configure ssh access into the vty lines as follows:
line vty 0 4
transport input ssh
You will also need to create keys as follows:
crypto key generate rsa usage modulus 1024
Hope this helps
Martin
03-31-2008 02:01 AM
Under VTY config configure transport input ssh
line vty 0 4
transport input ssh
This will disable telnet on the vty lines
HTH
Narayan
03-31-2008 02:04 AM
The above two messages are correct. However, you will need to type that command on vty 0 15 as well to ensure all vty lines require ssh connections.
03-31-2008 02:06 AM
Hi Michael Buskin, With the addition of Narayan's post I'd like to suggest you to put " transport input all" under line vty 0 4. Thanks Goutam
03-31-2008 02:09 AM
Gautam,
Transport input all would enable telnet on the VTY lines which the user wants to disable :-)
Narayan
03-31-2008 02:16 AM
Hi Narayan, thanks you are right, just ignore the âdisable telnetâ I was sleepy. :) Thanks Goutam
03-31-2008 03:04 AM
yes u can do by no telnet & enable ssh
used ssh ver 2 for login
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