Setting Up SSH on Cisco Router
R1(config)# hostname R1
R1(config)#ip domain-name anuj.com
R1(config)#username anuj password shrestha
R1(config)#crypto key generate rsa
choose default or 1024 and press enter and wait for a while to get the message that SSH has been enabled
R1(config)# line vty 0 4
R1(Config)# login local
R1(config-line)#transport input ssh
Try logging from another host using ssh—-
Comments are closed.