remote connection using SSH

in CCNP
ok so I want to set up an SSH connection to a cisco router via a laptop i've configured the router
with
config t
username (name) password md5 (password)
ip domain name monkey
line vty 0 2
exec-timeout 100 0
password 7 03095E190A0035141A
login
transport input telnet
line vty 3 4
exec-timeout 100 0
password 7 03095E190A0035141A
login
transport input ssh
When I try to connet from the laptop using putty it takes me to 'login as' and then 'password' and I use the username and password I have configured but it's saying 'Access denied:'
with
config t
username (name) password md5 (password)
ip domain name monkey
line vty 0 2
exec-timeout 100 0
password 7 03095E190A0035141A
login
transport input telnet
line vty 3 4
exec-timeout 100 0
password 7 03095E190A0035141A
login
transport input ssh
When I try to connet from the laptop using putty it takes me to 'login as' and then 'password' and I use the username and password I have configured but it's saying 'Access denied:'
What's another word for Thesaurus?
Comments
yeah i did actually do this using the crypto key generate rsa' command
should of mentioned that
username bob secret cisco
same thing happened when login in
username xxxxxxxxx privilege 15 secret 5 xxxxxxxxxxxxxxx
aaa new-model
line vty 0 4
access-class lineaccess in
privilege level 15
password 7 xxxxxxxxxxxxxxxxxx
login authentication local
transport input ssh
line vty 5 15
access-class lineaccess in
privilege level 15
password 7 xxxxxxxxxxxxxxxxxx
login authentication local
transport input ssh
The ACL "lineaccess" is just a simple standard permit access list.
line con 0
password 7 11041C171B1D1F5450
login
line aux 0
line vty 0 2
exec-timeout 100 0
password 7 03095E190A0035141A
login
transport input telnet
line vty 3 4
exec-timeout 100 0
password 7 03095E190A0035141A
login local
transport input ssh
You should not have to create an access list in 12.4 on a 2821 router. I've configured dozens of these for ssh access and https, and did not have to do that.