Skip to main content

5. Protocol Messages

Messages consist of a length, type, and contents field.

uint32            length
byte type
byte[length - 1] contents

Generic success and failure responses are SSH_AGENT_SUCCESS and SSH_AGENT_FAILURE. SSH_AGENT_FAILURE MUST also be sent in reply to unknown or unsupported request types.