Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
backintime
backintime-ssh-agent_only_if_password.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File backintime-ssh-agent_only_if_password.patch of Package backintime
diff -Pdpru backintime-1.1.4.orig/common/sshtools.py backintime-1.1.4/common/sshtools.py --- backintime-1.1.4.orig/common/sshtools.py 2015-03-22 23:45:40.000000000 +0100 +++ backintime-1.1.4/common/sshtools.py 2015-06-09 18:11:41.811995216 +0200 @@ -97,7 +97,11 @@ class SSH(mount.MountControl): 'But this can make troubles with passphrase-less keys.' %{'path': self.private_key_file}) self.private_key_fingerprint = self.private_key_file - 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"""
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor