Duplicate keys causing "The remote end hung up unexpectedly" bug.
Created by: sivabalan
Keys in /home/git/.ssh/authorized_keys should be automatically removed on re-installation of gitlab / gitlab-shell.
Currently keys added in the previous install remain as it is and user is able to add the same key again through the next install.
This results in "The remote end hung up unexpectedly" bug when running git push -u origin master
command.
Also there are no errors reported anywhere when the above bug occurs making it very difficult to debug.