git-server-docker
git-server-docker copied to clipboard
Public keys must have EOF char
If two public keys will uploaded and first key has no newline char at the end of file, then two keys are written in one line in authorized_keys file. Authorization using second key is impossible.
Root cause:
cat /git-server/keys/*.pub > .ssh/authorized_keys