1. Experimental IntroductionAbout this experimentDuring network maintenance, network administrators usually need to log in to many devices. Logging in to each device through the console port is cumbersome and time-consuming. In addition, the data transmitted when Telnet remotely logs in to the device is plain text, which is not secure enough. To improve security, you can configure the SSH function on the device so that remote administrators can log in and manage the device securely through SSH. PurposeThrough this experiment, you can master the basic methods of configuring the SSH remote login function of the device. Experimental Network Introduction2. Experimental PlanningThe management PC uses a common network cable to connect to the GE1/0/0 port of the device, and the management PC uses PuTTY software to remotely log in to the device.
3. Experimental Task Configuration1. Configuration ideas2. Configuration stepsStep 1: Log in to the device through other methods, such as console login. Step 2: Enable SSH on the device Step 3: Configure the login interface. Configure the IP address of the interface for login After completing the above configuration commands, use display this to view the current configuration. As shown below: Configure the interface access control function. Configure interfaces to join security zones Configure security policies to allow the management PC to access G1/0/0 of the firewall. After completing the above configuration commands, use display this to view the current configuration. As shown below: Step 4: Configure administrator information Configure the VTY administrator authentication mode to AAA: Create an SSH administrator account sshuser, specify the authentication method as password, and configure the password as Admin@123, and the service method as SSH. Bind roles to administrators: Configure an SSH user. Step 5: Generate a local key pair. Step 6: Log in to your device Configure the address to 10.1.2.100/24 on the management PC, run PuTTY, fill in the device SSH parameters, and log in to the device. # Select Session, select SSH for Connectiontype protocol, fill in 10.1.2.1 for Host Name (or IP address), and configure the remaining parameters as shown in the figure. VerificationClick Open connection in step 6, press Enter, enter the username sshuser and the password Admin@123. When the following information appears on the PuTTY interface, it means that SSH login to the device is successful. |
<<: PnetLab storage is insufficient? Teach you how to expand it step by step
【51CTO.com Quick Translation】 Living in the prese...
80VPS is a Chinese hosting company that was estab...
Does the row of indicator lights on your router o...
At the heart of smart devices lies a complex worl...
Recently, more and more mobile phone manufacturer...
Boomer.Host is a relatively new foreign hosting c...
In order to evolve towards cloud native and impro...
In April, RAKsmart offers a hot sale and regular ...
Zhongguancun Online News: China Mobile and Nokia ...
This article introduces how to use Python to impl...
10gbiz has released a new discount plan, offering...
RackNerd has officially added a self-service IPv4...
This article is reproduced from Leiphone.com. If ...
The theme of this issue of 5G Encyclopedia is: Ho...