deja-dup always asks for SSH password
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Déjà Dup |
Fix Released
|
Medium
|
Michael Terry |
Bug Description
I'd like to use SSH authentication identity files when doing backups to a remote host.
This means there should be a possibility in the preferences menu to choose if the SSH connection is to be authenticated by using a password or by using an authentication identity file. The preferences window should provide a field where the path to the authentication identity file can be entered, if authentication by identity file is chosen.
Furthermore the SSH backend should pass the --ssh-askpass flag to duplicity only if authentication by password has been chosen. Accordingly if authentication by identity file is chose the SSH option "IdentityFile <id-path>" should be passed.
If the identity file is secured by a password the gnome-keyring/
Changed in deja-dup: | |
status: | Fix Committed → Fix Released |
I've put together a patch against rev. 251 that adds the necessary widgets to the preferences dialog and stores the additional values in the gconf registry. I also modified the BackendSSH to use these settings, i. e. to not ask for a password if an identity file is to be used.
I tested the patched version and it works fine on my Intrepid/amd64 box. The patch has some rough edges, though, so if you think it might make it into a future release, I'll do some cosmetics. Also, I'm new to Vala and I appreciate feedback.
Last but not least: Thanks for creating deja-dup, I think it is quite a decent backup interface for GNOME.