C
C
CJSC MetroCraft2019-12-29 20:05:19
linux
CJSC MetroCraft, 2019-12-29 20:05:19

What Permission need SSH?

Hello!
Installed on Ubuntu ssh server via OpenSSH. Everything works with the password, but there are problems with the keys. By the key specified in authorized_keys - not included, and when trying to add a key via ssh-copy-id, an error pops up

Permission denied
5e08dc6cbf002528675937.jpeg
Here is the config
5e08dca4716d0165182492.jpeg
What permissions does the SSH server need?! What to do and how to solve the problem?!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
alex1478, 2019-12-29
@zao_MetroCraft

Show the output ls -la /home/administratorexecuted on the server.

V
vreitech, 2019-12-29
@fzfx

permissions to create or modify the authorized_keys file, I guess.
check the permissions on the ~/.ssh directory and on the ~/.ssh/authorized_keys file.

P
pfg21, 2019-12-29
@pfg21

"cannot create .ssh/authorized_keys" says ssh can't create file ~/.ssh/authorized_keys
look into why

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question