Table of Contents

Method Only

Namespace
SshSharp
Assembly
SshSharp.dll

Only(params string[])

Exactly these algorithms, in this order of preference (ssh_config's plain list, Ciphers a,b).

public static SshAlgorithmList Only(params string[] algorithms)

Parameters

algorithms string[]

The algorithm names, most preferred first.

Returns

SshAlgorithmList

Exceptions

ArgumentException

The list is empty, or a name is empty, contains a comma, white space or a wildcard.