mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
- As a safe guard although it should exist because of a prior verification of SSH key. - Minor refactor to make the method flatter. Tests: - Remove /var/lib/plinth/.ssh and visit add remote repository form. The public key is displayed in the form. The files in /var/lib/plinth/.ssh are created with expected permissions. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>