Category Archives: Cisco

Configure SSH on a Cisco ASA

Generate RSA key

crypto key generate rsa modulus 2048

Set Authentication to LOCAL

aaa authentication ssh console LOCAL

Create an ssh user :

username USER pass PASS

Show pre-shared-key on ASA

This command will show you the pre-shared-key configured on your ASA

more system:run | be tunnel-group ip.add.re.ss

configure privilege access levels on cisco asa

there are 4 steps involved in this :
1. enable command authorization ( LOCAL in this case means , keep the command authorization configuration on the firewall ) :

aaa authorization command LOCAL

2. define commands you want to use on a certain level, for example these commands will enable a user in privilege level 5 to view and clear crypto tunnels

privilege show level 5 command crypto
privilege clear level 5 command crypto

3. create a user and assign the privilege level to her/him :

username userName password userPass privilege 5

4. create an enable password for the new privilege level :

enable password enablePass level 5

now when the user logs in she/he can type :

enable 5

enter the password from step for and they will be able to run the above crypto commands.

here’s a link to the cisco KB.