Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return
Message::Failure
to SSH client to gracefully inform about error
Without this change the client informs about error in communication: ``` $ ssh-add -s test Enter passphrase for PKCS#11: Could not add card "test": communication with agent failed ``` After this change the error informs about agent refusing the operation: ``` $ ssh-add -s test Enter passphrase for PKCS#11: Could not add card "test": agent refused operation ``` Signed-off-by: Wiktor Kwapisiewicz <[email protected]>
- Loading branch information