Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Public keys must have EOF char #17

Open
lrosol opened this issue Jul 3, 2019 · 0 comments
Open

Public keys must have EOF char #17

lrosol opened this issue Jul 3, 2019 · 0 comments

Comments

@lrosol
Copy link

lrosol commented Jul 3, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant