Method RemoveAllKeysAsync
- Namespace
- SshSharp
- Assembly
- SshSharp.dll
RemoveAllKeysAsync(CancellationToken)
Removes every key from the agent (ssh-add -D).
public Task RemoveAllKeysAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationToken
Returns
Exceptions
- SshException
The agent is not running or refused (AgentFailed).