| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-03-09 | lib: move package "ssh/config" to "lib/sshconfig" | Shulhan | |
| Previously the "ssh/config" is used by the parent package "ssh" and "ssh/sftp" which is break the rule of package layer (the top package should be imported by sub package, not the other way around). | |||
| 2023-12-18 | ssh/config: add method MarshalText and WriteTo | Shulhan | |
| The MarshalText method encode the Section back to ssh_config format with two spaces as indentation in key. The WriteTo method marshal the Section into text and write it to [io.Writer] w. | |||
| 2022-05-09 | all: reformat all codes using gofmt 1.19 (the Go tip) | Shulhan | |
| 2021-07-05 | lib/ssh: move the config parser to subpackage "config" | Shulhan | |
| There are two reasons for moving to sub-package. First, the code for parsing the ssh_config(5) take almost 99% of the lines in the ssh package. Second, in case we want to submit the code to upstream, golang.org/x/crypto, we need the package to be independent, less external dependencies as possible. | |||
