Table of Contents

Property SessionId

Namespace
SshSharp
Assembly
SshSharp.dll

SessionId

The session identifier (RFC 4253 section 7.2): the exchange hash of the first key exchange, which stays the same for the connection's life, re-exchanges included. Both sides know it, and signatures made during authentication are bound to it, so it identifies this connection, for example to correlate with the server's records or to bind something of your own to it. It is not secret. This is a copy, which stays readable after the client is disposed.

public ReadOnlyMemory<byte> SessionId { get; }

Property Value

ReadOnlyMemory<byte>