simp-ssh module appends settings for specific hosts to the end of ssh_config

Description

Added settings to ssh_config for a specific host as described in https://simp.readthedocs.io/en/master/user_guide/HOWTO/Configure_Ssh.html#managing-client-settings-for-specific-hosts. The changes were incorporated into the ssh_config file, but the were added at the end. Because ssh stops at first match when reading ssh_config, it stop when it finds the parameter in `Host *` and the host specific settings are not read.

Acceptance Criteria

None

Activity

Show:
Michael Morrone
October 23, 2019, 1:13 PM

As explained at https://stackoverflow.com/questions/24049176/modifying-ssh-config-with-augtool, augeas parses the file looking for a match and appends to the end of the file if no match is found.

Bob Vincent
October 23, 2019, 3:35 PM
Edited

You could file an issue with the augeasproviders_ssh project asking that they expose the before keyword as illustrated in their wiki and in the stackoverflow answer.

Labels

Epic Link

None

Story Points

None

Priority

Medium

Assignee

Trevor Vaughan
Configure