Table of Contents

Class SshConfig

Namespace
Tmds.Ssh
Assembly
Tmds.Ssh.dll

Provides methods for working with SSH config files.

public static class SshConfig
Inheritance
SshConfig
Inherited Members

Methods

GetHosts()

Returns hosts defined in the default SSH config files.

public static ISet<string> GetHosts()

Returns

ISet<string>

GetHosts(IReadOnlyList<string>)

Returns hosts defined in the specified SSH config files. Wildcards and negation patterns are filtered out. Include directives are followed.

public static ISet<string> GetHosts(IReadOnlyList<string> configFilePaths)

Parameters

configFilePaths IReadOnlyList<string>

Returns

ISet<string>