* Delete all the keys held by the agent.
*
* @throws IOException if an IO error occurs
*/
public void deleteAllKeys() throws IOException {
SubsystemMessage msg = new SshAgentDeleteAllKeys();
sendMessage(msg);
msg = readMessage();
if (!(msg instanceof SshAgentSuccess)) {
throw new IOException("The agent failed to delete all keys");