08-14-2023 02:50 PM
I have a Cisco ASA5516 configuration: HA- Active/Standby.
The ssh is enabled on the outside and all interfaces, but the active ASA keeps rejecting the ssh connections for about 20 minutes, and then everything works as expected. The odd part is that this stop-and-start issue happens randomly, without a clear pattern.
08-14-2023 11:52 PM
Step 1: Configure Enable password. (Optional)
ASA(config)# enable password system@123
Step 2: Create a username with password.
ASA(config)# username gowherm password cisco@123
Step 3: Configure this local username to authenticate with SSH.
ASA(config)# aaa authentication ssh console LOCAL
Step 4: Create RSA key pair.
ASA(config)# crypto key generate rsa modulus 1024 INFO: The name for the keys will be: Keypair generation process begin. Please wait...
Step 5: Now specify only particular hosts or network to connect to the device using SSH.
ASA(config)# ssh 192.168.1.0 255.255.255.0 trust ASA(config)# ssh 172.16.1.0 255.255.255.0 trust
I hope you have followed the above steps to configure the ssh in ASA.
Please make sure and check the logs
You can now access the device using SSH from 192.168.1.0 and 172.16.1.0 network.
08-15-2023 05:05 AM
Thanks for the reply we are sure that the ssh is configured correctly and the firewalls are in production.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide