Answer the question
In order to leave comments, you need to log in
How to grant access?
Hello,
let's say there is a server where they can only connect by key.
I received a task (received public keys) to create 10 users so that they can connect as well.
How is it implemented?
Answer the question
In order to leave comments, you need to log in
Users are created, passwords or keys are configured, group memberships are distributed. Be specific about the difficulty.
adduser username
usermod -aG group (for example sudo) username
then write the public part of the key to /home/user_name/.ssh/authorized_keys
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question