ssh_transport.c
error_t sshFormatDisconnect(SshConnection *connection, uint32_t reasonCode, const char_t *description, uint8_t *p, size_t *length)
Format SSH_MSG_DISCONNECT message.
Definition: ssh_transport.c:372
error_t sshParseUnimplemented(SshConnection *connection, const uint8_t *message, size_t length)
Parse SSH_MSG_UNIMPLEMENTED message.
Definition: ssh_transport.c:916
error_t sshParseString(const uint8_t *p, size_t length, SshString *string)
Parse a string.
Definition: ssh_misc.c:1152
SSH transport layer protocol.
error_t sshParseServiceAccept(SshConnection *connection, const uint8_t *message, size_t length)
Parse SSH_MSG_SERVICE_ACCEPT message.
Definition: ssh_transport.c:624
bool_t sshCompareString(const SshString *string, const char_t *value)
Compare a binary string against the supplied value.
Definition: ssh_misc.c:1586
error_t sshSendPacket(SshConnection *connection, uint8_t *payload, size_t payloadLen)
Send SSH packet.
Definition: ssh_packet.c:57
error_t sshFormatServiceAccept(SshConnection *connection, const char_t *serviceName, uint8_t *p, size_t *length)
Format SSH_MSG_SERVICE_ACCEPT message.
Definition: ssh_transport.c:332
error_t sshParseUnrecognized(SshConnection *connection, const uint8_t *message, size_t length)
Parse unrecognized message.
Definition: ssh_transport.c:957
error_t sshParseDisconnect(SshConnection *connection, const uint8_t *message, size_t length)
Parse SSH_MSG_DISCONNECT message.
Definition: ssh_transport.c:838
error_t sshFormatServiceRequest(SshConnection *connection, uint8_t *p, size_t *length)
Format SSH_MSG_SERVICE_REQUEST message.
Definition: ssh_transport.c:293
error_t sshParseIdString(SshConnection *connection, const uint8_t *id, size_t length)
Parse identification string.
Definition: ssh_transport.c:460
error_t sshSendDisconnect(SshConnection *connection, uint32_t reasonCode, const char_t *description)
Send SSH_MSG_DISCONNECT message.
Definition: ssh_transport.c:209
error_t sshSendServiceAccept(SshConnection *connection, const char_t *serviceName)
Send SSH_MSG_SERVICE_ACCEPT message.
Definition: ssh_transport.c:164
error_t sshSendIdString(SshConnection *connection)
Send identification string.
Definition: ssh_transport.c:51
error_t sshParseIgnore(SshConnection *connection, const uint8_t *message, size_t length)
Parse SSH_MSG_IGNORE message.
Definition: ssh_transport.c:695
error_t sshParseServiceRequest(SshConnection *connection, const uint8_t *message, size_t length)
Parse SSH_MSG_SERVICE_REQUEST message.
Definition: ssh_transport.c:546
error_t sshParseDebug(SshConnection *connection, const uint8_t *message, size_t length)
Parse SSH_MSG_DEBUG message.
Definition: ssh_transport.c:754
error_t sshFormatUnimplemented(SshConnection *connection, const uint8_t *packetSeqNum, uint8_t *p, size_t *length)
Format SSH_MSG_UNIMPLEMENTED message.
Definition: ssh_transport.c:428
error_t sshSendServiceRequest(SshConnection *connection)
Send SSH_MSG_SERVICE_REQUEST message.
Definition: ssh_transport.c:115
SSH helper functions.
SSH packet encryption/decryption.
error_t sshFormatString(const char_t *value, uint8_t *p, size_t *written)
Format a string.
Definition: ssh_misc.c:1384
Secure Shell (SSH)
Debugging facilities.
error_t sshSendUnimplemented(SshConnection *connection, const uint8_t *packetSeqNum)
Send SSH_MSG_UNIMPLEMENTED message.
Definition: ssh_transport.c:256