SSH-Protokoll

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen

Ablauf des Kommunikationsaufbaus

SSH Header

  • 4 Bytes werden für die Paketlänge verwendet
  • 1 Byte für die Länge des Paddings
  • Daten + Padding brauchen des Rest auf

! Field Name !! Length (bytes) !! Description |- | Packet Length || 4 || Length of the packet (excluding the length of the 'Packet Length' field). |- | Padding Length || 1 || Length of the random padding that is added to the packet. |- | Payload || Variable || The actual SSH message that is being transmitted. |- | Padding || Variable || Random data used to ensure the total packet length is a multiple of the block size (typically 8 or 16 bytes). |- | MAC (Message Authentication Code) || Variable || Message authentication code (if used) to verify the integrity of the packet. |- | Compression || Optional || Some SSH implementations compress the payload and/or padding for efficiency.

Konfiguration unter Linux