Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

SSH and Telnet

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

Re: SSH and Telnet

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

Re: SSH and Telnet

Under VTY config configure transport input ssh

line vty 0 4

transport input ssh

This will disable telnet on the vty lines

HTH

Narayan

New Member

Re: SSH and Telnet

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.

Re: SSH and Telnet

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

Re: SSH and Telnet

Gautam,

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

Narayan

Re: SSH and Telnet

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

New Member

Re: SSH and Telnet

yes u can do by no telnet & enable ssh

used ssh ver 2 for login

165
Views
0
Helpful
7
Replies
CreatePlease to create content