Class SshConfig
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
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
configFilePathsIReadOnlyList<string>