Table of Contents

Property VersionAddendum

Namespace
SshSharp
Assembly
SshSharp.dll

VersionAddendum

A comment appended to this client's identification line, which then reads SSH-2.0-SshSharp_1.2.3 comment (RFC 4253 section 4.2), for example to tell your application's connections apart in the server's logs. Null (the default) sends none. The line is sent before encryption starts, so anyone on the network path can read it, and servers log it: put no secrets or personal data in it.

public string? VersionAddendum { get; init; }

Property Value

string

Exceptions

ArgumentException

The comment is empty, has a character other than printable US-ASCII (space to ~), starts or ends with a space, or makes the line longer than the 255 bytes RFC 4253 allows.