hostname R1

enable secret XXX

no ip domain-lookup

no ip http server

aaa new-model

aaa authentication login default local line

username admin password XXX

enable password XXX

crypto key generate rsa general-keys modulus 1024

ip ssh time-out 30

ip ssh authentication-retries 3

ip ssh ver 2

line vty 0 4