Host struct and helpers for SSH connections.
Summary
Functions
Extract the hostname from a host string (may include user@ prefix).
Get the port for a host, using ssh config default.
Get the user for a host, falling back to ssh config.
Host struct and helpers for SSH connections.
Extract the hostname from a host string (may include user@ prefix).
Get the port for a host, using ssh config default.
Get the user for a host, falling back to ssh config.