Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

ASA 5520 Firewall SSH configuration

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

ASA 5520 Firewall ssh Configuration

Friends who are accustomed to telnet may wish to try SSh login methods to transmit ciphertext in the network to ensure network security.

The configuration is as follows:

The first step is to create a key.

ASA(config)# crypto key generate rsa

INFO: The name for the keys will be:

Keypair generation process begin. Please wait...

Second, allow ssh to log in from the outside interface

ASA(config)# ssh 0.0.0.0 0.0.0.0 outside

Step 3: Login password

By default, the username is pix and the password is passwd, which can be modified via ASA(config)# passwd ***

Step 4 (additional), enable local aaa for ssh

ASA(config)# aaa authentication enable console LOCAL //Note: LOCAL should be capitalized manually, do not first lowercase "l" and then press tab, that will report an error. One letter tormented me for days!

Set up a local account

ASA(config)# username jiajia password jiajia

Set up a local account

ASA(config)# username gouzhongxing password aqkfkhnuiwu

//Related commands

show ssh //See SSH configuration information

show crypto key mypubkey rsa //View the generated rsa key value

crypto key zero ize//clear all generated keys

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

//configure server side

ASA(config)# crypto key generate rsa modulus 1024 //Specifies the size of the rsa coefficient, the larger the value, the longer the rsa generation time,cisco Recommended use 1024.

ASA(config)# write memory //save the key just generated

ASA(config)# ssh 0.0.0.0 0.0.0.0 outside //0.0.0.0 0.0.0 means that any external host can access the outside interface through SSH, of course, you can specify a specific host or network to access,outside can also be changed to inside means that the firewall is accessed through SSH

ASA(config)# ssh timeout 10 //Set timeout in minutes

ASA(config)# ssh version 1 //Specify SSH version, optionally version 2

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report