Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HostConfig ¶
HostConfig is a SSH host config.
func GetHostConfig ¶
func GetHostConfig(hostname string) (HostConfig, error)
GetHostConfig retrieves a ~/.ssh/config config for a host using /usr/bin/ssh directly. We therefore maintain consistent interop with this standard tooling. This is useful because SSH confuses a lot of people and having to learn how two tools (`ssh` and `abra`) handle SSH connection details instead of one (just `ssh`) is Not Cool. Here's to less bug reports on this topic!
func (HostConfig) String ¶
func (h HostConfig) String() string
String presents a human friendly output for the HostConfig.
Click to show internal directories.
Click to hide internal directories.