GetStrict finds the first value for key within a declaration that matches the alias. If key has a default value and no matching configuration is found, the default will be returned. For more information on default values and the way patterns are matched, see the manpage for ssh_config. The returned
(alias, key string)
| 152 | // |
| 153 | // GetStrict is a wrapper around DefaultUserSettings.GetStrict. |
| 154 | func GetStrict(alias, key string) (string, error) { |
| 155 | return DefaultUserSettings.GetStrict(alias, key) |
| 156 | } |
| 157 | |
| 158 | // GetAllStrict retrieves zero or more directives for key for the given alias. |
| 159 | // |