Basic Switch Template with SSH config
Any switch these config can be used
Config is basic template with aaa config with local account, SSH version 2 Enabled.
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service compress-config
!
hostname BBCORE — Change here the name you looking to use.
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 $1$jtK0$yyHFcVM7xyelts1csVwrV/ – cisco
!
username cisco privilege 15 secret 5 $1$0qFD$ZEMDi.7z1QTtF4EuPdlSY. – cisco
aaa new-model
!
aaa session-id common
clock timezone GMT 0 0
!
vtp mode transparent – Mode set to Transparent, default is Server
!
!
ip domain-name bb.com – this required for SSH config
ip cef
no ipv6 cef
!
spanning-tree mode pvst
spanning-tree extend system-id
!
!
ip forward-protocol nd
!
no ip http server – if you want to GUI you can enable, but full Gui access you need tar image
no ip http secure-server
!
ip ssh version 2 – version 2, you need to generate RSA key 1024
ip ssh server algorithm encryption aes128-ctr aes192-ctr aes256-ctr
ip ssh server algorithm authentication password
ip ssh client algorithm encryption aes128-ctr aes192-ctr aes256-ctr
!
!
control-plane
!
!
line con 0
privilege level 15
logging synchronous
line aux 0
line vty 0 4
privilege level 15 – with this it will not ask enable password
transport input ssh – enable SSH Access
!
!
Generate SSH keys :
crypto key generate rsa
type 1024 or more
#show ip ssh
