SSH and Telnet

SSH and Telnet

SSH and Telnet Configurations
Fig 1: SSH and Telnet 


SSH and Telnet Configurations

Networkeducative-Switch(config)# line vty 0 4

Networkeducative-Switch(config-line)# exec-timeout 40 0

Networkeducative-Switch(config-line)# logging synchronous

Networkeducative-Switch(config-line)# transport input ssh telnet

Networkeducative-Switch(config-line)# transport output ssh telnet

Networkeducative-Switch(config-line)# login local

Networkeducative-Switch(config-line)# exit

Networkeducative-Switch(config)# ip domain-name Networkeducative

Networkeducative-Switch(config)# crypto key generate rsa general-keys modulus 2048

Networkeducative-Switch(config)# ip ssh authentication-retries 2

Networkeducative-Switch(config)# ip ssh time-out 120

Networkeducative-Switch(config)# login block-for 240 attempts 3 within 60

Networkeducative-Switch(config)#

How to disable ssh telnet ?

Networkeducative-Switch # configure terminal

Networkeducative-Switch (config)# line vty 0 4

Networkeducative-Switch (config-line)# transport input none

Networkeducative-Switch (config-line)# exit 

Post a Comment

0 Comments