backups: Display SSH public key when adding remote

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
James Valleroy authored and Sunil Mohan Adapa committed 2026-02-05 22:32:55 -08:00
1 parent 156d0b761f
commit 7fb41313cd
4 files changed
+42 -3

No files matched your search

+3 -1
View File
@@ -254,7 +254,9 @@ class AddRemoteRepositoryForm(EncryptedBackupsMixin, forms.Form):
ssh_password = forms.CharField(
label=_('SSH server password'), strip=True,
help_text=_('Password of the SSH Server.<br />'
'SSH key-based authentication is not yet possible.'),
'Either provide a password, or add the FreedomBox '
"service's SSH client public key (listed above) to the "
'authorized keys list on the remote machine.'),
widget=forms.PasswordInput(), required=False)
field_order = ['repository', 'ssh_password'] + encryption_fields