cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
565
Views
0
Helpful
7
Replies

SSH and Telnet

michael.buskin
Level 1
Level 1

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

7 Replies 7

Martin Parry
Level 3
Level 3

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

royalblues
Level 10
Level 10

Under VTY config configure transport input ssh

line vty 0 4

transport input ssh

This will disable telnet on the vty lines

HTH

Narayan

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.

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

Gautam,

Transport input all would enable telnet on the VTY lines which the user wants to disable :-)

Narayan

Hi Narayan, thanks you are right, just ignore the “disable telnet” I was sleepy. :) Thanks Goutam

jitendra9923
Level 1
Level 1

yes u can do by no telnet & enable ssh

used ssh ver 2 for login

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card