cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
42274
Views
26
Helpful
2
Replies

ASA SSH configuration -- Encrypted password is of incorrect length

Hi ,

I was configuring the SSH local user on ASA with below Command but observing the Error please someone help me in resolving this.

I am trying to configure below Script

aaa authentication ssh console TACACS-MGNT LOCAL

ssh 192.168.0.0 255.255.0.0 MGMT

ssh 172.16.0.0 255.240.0.0 MGMT

ssh 10.0.0.0 255.0.0.0 MGMT

ssh timeout 5

username netcontrol password l00$31t encrypted privilege 15     -----------> here i am getting below Error.

crypto key generate rsa modulus 1024

end

ASA(config)# username netcontrol password l00$31t encrypted privilege 15

Encrypted password is of incorrect length

ERROR: Username addition failed

Thanks

Naresh

1 Accepted Solution

Accepted Solutions

varrao
Level 10
Level 10

Hi Naresh,

Please do not use the word encrypted in the command, the ASA encrypts the password itself.

ASA3(config)# username cisco password cisco privilege 15

ASA3(config)# show run username

username cisco password 3USUcOPFUiMCO4Jk encrypted privilege 15

Hope that helps.

Thanks,

Varun Rao

Thanks,
Varun Rao

View solution in original post

2 Replies 2

varrao
Level 10
Level 10

Hi Naresh,

Please do not use the word encrypted in the command, the ASA encrypts the password itself.

ASA3(config)# username cisco password cisco privilege 15

ASA3(config)# show run username

username cisco password 3USUcOPFUiMCO4Jk encrypted privilege 15

Hope that helps.

Thanks,

Varun Rao

Thanks,
Varun Rao

Help a lot. Thank you!

Review Cisco Networking products for a $25 gift card