- Router(config)# hostname MyRouter
- Router(config)# ip domain-name example.com
- Router(config)# crypto key generate rsa
- Router(config)# line vty 0 4
- Router(config-line)# transport input ssh
- Router(config-line)# exit
- Router(config)# ip ssh version 2
- Router(config)# username admin password adminpass
- Router(config)# aaa new-model
- conf t
- ntp server <IP server>
- ntp peer <IP server>