vim.net._ssh
Methods3
function M.parse_ssh_config(text: string) -> The string[]
Parameters
textstringThe ssh configuration which needs to be parsed
Returns
Thestring[]parsed host names in the configuration
function M.parse_config(filename: string) -> The string[]
Parameters
filenamestring
Returns
Thestring[]hostnames configured in the file located at filename
function M.get_hosts() -> The string[]
Returns
Thestring[]hostnames configured in the ssh configuration file located at "~/.ssh/config". Note: This does not currently process
Includedirectives in the configuration file.