Question

500 error when Add an SSH Key to gitlab

Posted October 14, 2014 3.6k views

i followed by doc :ssh-keygen -t rsa -C “me@mail.com
then cat ~/.ssh/id_rsa.pub and copy the complete key but when i click “add key” i got 500 error.
what happened and how to fix?
btw,i use digitalocean One-Click Install Image.
https://www.digitalocean.com/community/tutorials/how-to-use-the-gitlab-one-click-install-image-to-manage-git-repositories

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer

never mind,
i change the time to localtime (shanghai) then reboot the server and its
worked.

Submit an Answer