plugins icon indicating copy to clipboard operation
plugins copied to clipboard

Add username/password login to SFTP settings backup

Open julsssark opened this issue 6 months ago • 2 comments

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

  • [ x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
  • [x ] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Is your feature request related to a problem? Please describe.

The SFTP settings backup supports key pair authentication. Many NAS solutions (including Synology) do not support key pair authentication and therefore can't be used as target for backups.

Describe the solution you like

Add username/password login option.

Describe alternatives you considered

Using various hacks to add key pair authentication to Synology but they are not supported and have limitations. Setting up a local GitHub but that seems like a lot of work to just have a simple backup. Keep using Google Drive backup until Google no longer supports it (working fine for now).

Additional context

Add any other context or screenshots about the feature request here or links to relevant forum thread or similar

julsssark avatar Jun 02 '25 15:06 julsssark

https://kb.synology.com/en-my/DSM/tutorial/How_to_log_in_to_DSM_with_key_pairs_as_admin_or_root_permission_via_SSH_on_computers ?

AdSchellevis avatar Jun 02 '25 16:06 AdSchellevis

Thanks for sending that link. I hadn't seen that one but I saw https://community.synology.com/enu/forum/17/post/83187 and a couple of others.

If I read the link you sent correctly, it means that I will need to leave SSH enabled (vs. leaving SFTP enabled) and I would need to use an admin account (vs. a regular user account). I'm not a security expert and it's a homelab, so I guess I could live with that. Still, it seems like a lot of an elevated privileges just to backup to a share. Perhaps Synology adopts key pairs in the next version of DSM.

julsssark avatar Jun 02 '25 16:06 julsssark