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
Step 2: We set a password for the xiaoming user and xiaohei user
Step 3: Create a key pair on the xiaoming client
Step 4: Copy the created public key file to the server directory of user xiaoming and user xiaohei