When you copy the key over, the server will challenge for your server password. After this initial step, the server will accept your keys as the login and you will not be challenged for the password.
### Copy key to Azure DevOps
Note about git: I have noticed that you need to generate keys for both your user account and root.