Method FormatHost
FormatHost(string, int)
Formats a host and port the way known_hosts stores them: host, or [host]:port for non-22 ports.
public static string FormatHost(string host, int port)
Formats a host and port the way known_hosts stores them: host, or [host]:port for non-22 ports.
public static string FormatHost(string host, int port)