File backintime-ssh-agent_only_if_password.patch of Package backintime
--- backintime-1.0.34/common/sshtools.py 2013-12-12 10:34:10.000000000 +0100
+++ backintime-1.0.34.kai/common/sshtools.py 2014-01-18 13:44:28.478332639 +0100
@@ -86,8 +86,10 @@
self.ssh_options += ['-o', 'ServerAliveInterval=240']
self.log_command = '%s: %s' % (self.mode, self.user_host_path)
- self.unlock_ssh_agent()
-
+ # ssh without password makes only sense if you have enabled passwordless ssh keys. In this case there is no need to use the keyring at all
+ if not self.password == None:
+ self.unlock_ssh_agent()
+
def _mount(self):
"""mount the service"""
sshfs = ['sshfs'] + self.ssh_options