1
0
mirror of https://github.com/gilbertchen/duplicacy synced 2025-12-17 08:43:17 +00:00

Add a log message if ssh-agent doesn't return any signer

This commit is contained in:
Gilbert Chen
2017-10-07 23:07:54 -04:00
parent b2ad6da364
commit 6fd85fc687

View File

@@ -239,6 +239,8 @@ func CreateStorage(preference Preference, resetPassword bool, threads int) (stor
signers, err = sshAgent.Signers()
if err != nil {
LOG_DEBUG("SSH_AGENT", "Can't log in using public key authentication via agent: %v", err)
} else if len(signers) == 0 {
LOG_DEBUG("SSH_AGENT", "SSH agent doesn't return any signer")
}
}
}