Table of Contents

Method Load

Namespace
SshSharp.Config
Assembly
SshSharp.dll

Load(string, string?)

Loads a config file. A missing file gives an empty config. See Parse(string, string?) for baseDirectory.

public static SshConfig Load(string path, string? baseDirectory = null)

Parameters

path string
baseDirectory string

Returns

SshConfig