Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed a bug in ssh login with encrypted private key
Check the type of the returned error instead of the error message to determine if the private key file is encrypted by a passphrase.
- Loading branch information
835af11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit has been mentioned on Duplicacy Forum. There might be relevant details there:
https://forum.duplicacy.com/t/duplicacy-web-with-sftp-password-protected-ssh-keyfile-stopped-working-bug-in-v2-5-0/3494/4