Requirements:
Device is available on the network, IP address is assigned for one of it’s interface: link
| conf t |
| enter into configuration mode |
| hostname r1 |
| must setup a hostname for the device because of SSH key generation |
| ip domain-name itminutes.com |
| setup the FQDN which will consume the pre-setup hostname |
| crypto key generate rsa modulus 2048 |
| key setup |
| ip ssh time-out 120 |
| ip ssh version 2 |
| ip scp server enable |
| login block-for 300 attempts 4 within 120 |
| login delay 2 |
| login on-failure log |
| login on-success log |
| username admin privilege 15 secret 0 cisco |
| aaa new-model |
| aaa authentication login default local-case |
| aaa authorization exec default local if-authenticated |