cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4450
Views
0
Helpful
2
Replies

Default username for ssh on the routers

smunzani
Level 1
Level 1

Hi,

My mistake I enabled ssh by following commands but forgot to create a local username. Is there anyway to recover from this? The config was already saved so reboot will not take me to previous state.

config term

crypto key generate rsa modulas 1024

ip ssh version 2

line vty 0 4

transport input ssh

password xyz

On PIX/ASA when there is no username defined, the default username is cisco. However cisco username doesn't seem to work on this router. What are my options for recovery at this point other than router passwor recovery process?

Thanks,

Sam

1 Accepted Solution

Accepted Solutions

Marvin Rhoads
Hall of Fame
Hall of Fame

The line vty commands only affect remote access. Login on console and add the username from that input locale. If you have "ip http server" setup you can use that as a third access method via which you can change the configuration.

View solution in original post

2 Replies 2

Marvin Rhoads
Hall of Fame
Hall of Fame

The line vty commands only affect remote access. Login on console and add the username from that input locale. If you have "ip http server" setup you can use that as a third access method via which you can change the configuration.

I have http disabled now but console is a way. Thanks for the response.

Review Cisco Networking for a $25 gift card