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:
@@ -239,6 +239,8 @@ func CreateStorage(preference Preference, resetPassword bool, threads int) (stor
|
|||||||
signers, err = sshAgent.Signers()
|
signers, err = sshAgent.Signers()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
LOG_DEBUG("SSH_AGENT", "Can't log in using public key authentication via agent: %v", err)
|
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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user