Table of Contents

Method LoadDefault

Namespace
SshSharp.Config
Assembly
SshSharp.dll

LoadDefault(string?)

Loads the standard files like ssh does: the user's ~/.ssh/config first, then the system-wide file (/etc/ssh/ssh_config, or %ProgramData%\ssh\ssh_config on Windows). Earlier files win.

public static SshConfig LoadDefault(string? homeDirectory = null)

Parameters

homeDirectory string

The home directory; defaults to the current user's profile folder.

Returns

SshConfig