Method Parse
Parse(string, string?)
Parses ssh_config text. Throws FormatException (with the line number) on syntax errors.
public static SshConfig Parse(string text, string? baseDirectory = null)
Parameters
textstringThe file contents.
baseDirectorystringThe directory relative
Includepaths resolve against. OpenSSH uses~/.sshfor user files and the system directory for the system file; the default (null) is.sshin the home directory given when resolving.