It could be that the console line has a very short exec-timeout configured e.g.
#line con 0
#exec-timeout 0 1
This would cause it to timeout after just one second. Can you telnet to the router? The VTY lines might be configured differently. Failing that you could just do a password recovery and blow the config away and start again.