git-server-docker icon indicating copy to clipboard operation
git-server-docker copied to clipboard

Public keys must have EOF char

Open lrosol opened this issue 6 years ago • 0 comments

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

lrosol avatar Jul 03 '19 09:07 lrosol