fir3net

PPS-Firenetbanner-780.5x190-30-03-17

Cisco Router - How to configure SSH

Below shows you how to enable SSH on your router using a username of "mr" and a password of "bean", allowing access from the fa0/0 interface.

Router(config)#ip ssh source-interface fastEthernet 0/0
Router(config)#ip ssh authentication-retries 3
Router(config)#ip ssh version 2

Router(config)#ip domain-name local.net
Router(config)#crypto key generate rsa modulus 768
Router(config)#username mr password 7 bean

Router(config)#line vty 0 15
Router(config-line)# transport input ssh
Router(config-line)# local login