Cannot log in as [email protected] after added SSH key to Gitlab

Vladimir Sedach <[email protected]>
Newsgroups gmane.lisp.common-lisp-net.devel
Message-ID <[email protected]>
Hello,

I ran into a strange problem:

I added a new ed25519 key to authorized_keys2, which worked fine. Then I
went to Gitlab web interface and tried adding the ed25519 key, which
failed because Gitlab cannot handle ed25519 keys yet. I made a new RSA
key and added that in the Gitlab web interface. After this I cannot log
into [email protected] with any of the keys that were in
authorized_keys2. The error message is "Permission denied (publickey)"
so something must have happened to the authorized_keys file.

This seems very strange. I do not think I did anything as
[email protected] that would break log-ins, which leads me to
believe that it was some script in Gitlab. OTOH the new RSA key does not
work either, so it might be something I did through TRAMP by accident.

Can you please put this SSH key into authorized_keys:

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDc+4x1XblOzyfHAzOCbM00FB/VglYg0PvOSL8FuQKQ/ [email protected].

Thank you,
Vladimir
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.