4 Commits

Author SHA1 Message Date
Sylvie Crowe 17e2087ebd Update IdentityFile Defaults to Match Documentation (#4)
Credit to @virtuald for the original implementation of this fix.

* Add support for retrieving all IdentityFile directives via DefaultAll

* fix: set IdentityFile defaults to match man page

The existing default IdentityFile list was incomplete and out of order.
This updates it to match the defaults listed here:
https://man7.org/linux/man-pages/man5/ssh_config.5.html

---------

Co-authored-by: Dustin Spicuzza <dustin@virtualroadside.com>
2024-03-05 20:10:34 -08:00
Dustin Spicuzza 124166206d Support retrieving multiple values for a given keyword
IdentityFile among others supports being provided multiple times and
aggregated across, potentially, multiple files. Support that workflow
by adding GetAll and GetAllStrict alongside the current functions.
2021-03-27 13:38:21 -07:00
Kevin Burke 3fad3c64da Add more documentation and correctness fix 2017-05-24 22:10:17 -07:00
Kevin Burke c20644453d add Default() and start of a validate() function 2017-05-24 10:11:10 -07:00