Table of Contents

Method Prepend

Namespace
SshSharp
Assembly
SshSharp.dll

Prepend(params string[])

The defaults, with these algorithms moved or added to the front (ssh_config's ^, Ciphers ^a,b).

public static SshAlgorithmList Prepend(params string[] algorithms)

Parameters

algorithms string[]

The algorithm names to prefer, most preferred first.

Returns

SshAlgorithmList

Exceptions

ArgumentException

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