CE Exercises (2)

The xiaoming user using the client uses ssh to log in to the xiaoming user and xiaohei user on the server side based on the secret key authentication method

Step 1: Add two ordinary users, xiaoming and xiaohei

insert image description here

Step 2: We set a password for the xiaoming user and xiaohei user

insert image description here

Step 3: Create a key pair on the xiaoming client

insert image description here

Step 4: Copy the created public key file to the server directory of user xiaoming and user xiaohei

insert image description here

Step 5: Login Verification

insert image description here

Guess you like

Origin blog.csdn.net/Zombie_QP/article/details/127840065