Skip to content

cri_frontend: fix public SSH keys shortcut page

Marc Schmitt requested to merge ssh-key-endpoint-fix into develop

Currently the shortcut page does not append a \n at the end so it's not possible to curl https://cri.epita.fr/login_1.keys >> ~/.ssh/authorized_keys ; curl https://cri.epita.fr/login_2.keys >> ~/.ssh/authorized_keys as keys wouldn't end up on two different lines. This MR addresses this problem.

This MR also adds the login behind the SSH key.

Merge request reports