Table of Contents

Method Parse

Namespace
SshSharp
Assembly
SshSharp.dll

Parse(string)

Parses an allowed-signers file's contents; blank lines and lines starting with # are skipped.

public static SshAllowedSigners Parse(string text)

Parameters

text string

Returns

SshAllowedSigners

Exceptions

FormatException

A line is malformed, or has an option this library does not know. As in ssh-keygen, one bad line rejects the file rather than being skipped.