Skip to main content

Module ssh_config

Module ssh_config 

Source
Expand description

What isb ssh-config writes: Host blocks whose ProxyCommand is isb ssh-proxy, and a known_hosts file of the instances’ host keys under each block’s HostKeyAlias, so plain ssh, scp, editors and herdr machine add pin the right key without ever trusting on first use.

Structs§

HostEntry
One instance’s block.
ProxyOptions
How the blocks reach isb ssh-proxy.

Functions§

alias
herdr_line
The herdr machine add line for an entry.
render
The Host block for one instance.
update_known_hosts
existing known_hosts with every line for these entries’ aliases replaced by their current keys. Other lines are kept as they were.
write_known_hosts
Rewrite path with update_known_hosts, creating it (and its directory) as needed. Written whole, then renamed into place.