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

Cisco router switches and firewalls configure console, telnet, ssh login

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

Share

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

Router switch:

The router and switch configurations are the same

Configure terminal

Enter global mode

Username XXX password YYY

Configure username and password configure console: line console 0 enter console configuration mode login local apply local username and password login (configured above) exit exit * * configure telnet: line vty 0 4 enter vty line 0 4 transport input telnet to enable telnet and disable other login methods such as SSH login login local application local username and password login (which is configured above) * configure ssh: hostname ZZZ first Configure the name of the router or switch ip domain-name example configure a domain name (whatever Example) crypto key generate rsa modulus 2048 is used here to specify the size of the rsa coefficient. The higher the value, the longer it takes to generate rsa. However, if it is less than 968, line vty 0 4 will not be allowed to enter vty line 0 4 transport input ssh to enable ssh and disable other login methods such as telnet login login local login with local username and password (as configured above) * * if you want to enable both telnet and ssh line vty 0 4 transport input all

Firewalls

Configure telnet

Telnet 192.168.0.0 255.255.255.0 inside

Allow the telnet of the address of the 192.168.0.0ax 24 network segment of inside.

Telnet timeout 5

Timeout configuration (minutes)

Username XXX password YYY

Configure login account and password

Configuring ssh ssh 192.168.0.0 255.255.255.0 inside allows you to configure the login account and password crypto key generate rsa modulus 1024 to specify the size of the rsa coefficient on the address sssh of the 192.168.0.0Universe 24 network segment inside. The higher this value, the longer it takes to generate rsa. It is recommended that 1024 Do you really want to replace them? [yes/no]: y are you sure to use the new key: write memory saves the key aaa authentication ssh console LOCAL aaa authentication enable console LOCAL to open local authentication, otherwise the firewall will not verify with the requester, LOCAL uppercase type it, do not need tab to complete ssh timeout 5 setting timeout (minutes) ssh version 1 configure ssh version, version 2 requires 3DES permission

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