A
A
Alistair O2020-11-26 13:28:08
linux
Alistair O, 2020-11-26 13:28:08

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

3 answer(s)
K
ky0, 2020-11-26
@ky0

Users are created, passwords or keys are configured, group memberships are distributed. Be specific about the difficulty.

D
dimjkee90, 2020-11-26
@dimjkee90

adduser username
usermod -aG group (for example sudo) username
then write the public part of the key to /home/user_name/.ssh/authorized_keys

A
AVKor, 2020-11-26
@AVKor

Customize sftpin/etc/ssh/sshd_config

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question