Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Cisco sdm login SSH configuration learning notes

Shulou Source: shulou.com Published: 2022-06-01 08:31:37 11月26日 Update

Enable the http service

Ip http server

Enable the https service

Ip http secure-server

Configure to authenticate http access. The authenticated security database is local authentication.

Ip http authentication local

Set up a secure database locally on the router with a user name of "cisco" and a password of "cisco" with a user privilege level of 15, that is, the administrator level of the router

Username cisco privilege 15 password cisco

Enter vty

Line vty 0 4 (logical line order) is equivalent to line 2 4 (physical line order), which can be seen by show line.

Set to use local database authentication when logging in using vty

Transport input telnet

Set SSH encryption when logging in using vty

Transport input telnet ssh

Set the log space size to 51200

Logging buffered 51200 warning

To use SSH, you must configure a domain name for the router

Ip domain-name cisco.com

Allow SSH to log in

Transport input ssh

Generate router public and private key pairs

Crypto key generate rsa

Tags: Routing router authentication login data database configuration security user level service that is public key domain name size password log permissions physical space Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno MariaDB macOS Redmi Docker