Skip to main content

remove_ssh_config_block

Function remove_ssh_config_block 

Source
pub fn remove_ssh_config_block(existing: &str, name: &str) -> String
Expand description

Remove the Host git-ark-<name> block from existing, if present. Every other block is preserved untouched. Used by host remove to drop the client ~/.ssh/config alias once a host leaves the registry.