Did you configure the line console 0 ?
do a show running-config to check, if there is no password as line console not a login entry, you can't access by it. I think you configure only vty, so there is no problem to access via ssh, but that is the only way to access you allowed.
line con 0
!
line aux 0
!
line vty 0 4
login