SSH-Protokoll: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 4: Zeile 4:
 
= SSH Header =
 
= SSH Header =
 
{{#drawio:ssh-protokoll-02}}
 
{{#drawio:ssh-protokoll-02}}
 +
* 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 =
 
= Konfiguration unter Linux =

Version vom 16. September 2024, 21:29 Uhr

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