cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
9925
Views
5
Helpful
2
Replies

to enable ssh on swtich 3850 & to disable telnet on it

NITIN RAI
Level 1
Level 1

Dear All,

i am having cisco switch WS-C3850-24T-S , need to enable ssh & to disable telnet on it,

Thanks & Regards

Nitin Rai

2 Replies 2

Peter Paluch
Cisco Employee
Cisco Employee

Hi Nitin,

The process should be very similar to how it's configured on other platforms:

hostname <NonDefaultHostname>
ip domain-name <YourCompanyDomain>
crypto key generate rsa general-keys modulus 2048
ip ssh version 2
line vty 0 15
login local
transport input ssh

Make sure that before applying this configuration, you have added at least one user account using the username command in your configuration, and that you have the enable secret set. After applying this configuration, remote access will be restricted only to SSH and only users who have their accounts created will be able to log in.

Best regards,
Peter

Dear peter,

thanks for your revert, it really helped to complete my tasks..

Thanks for support

Nitin Rai

Review Cisco Networking for a $25 gift card