Skip to main content

Module ssh_config

Module ssh_config 

Source
Expand description

Parser for ~/.ssh/config.

Supported directives: Host, HostName, User, Port, IdentityFile, ProxyJump, Include.

The original file is never modified.

Functionsยง

load_from_file
Loads and parses an SSH config file from disk.
parse_ssh_config
Parses the text of an SSH config file and returns all non-wildcard hosts.