| Age | Commit message (Collapse) | Author |
|
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.
|
|
Previously, the test.Assert and test.AssertBench functions has the
boolean parameter to print the stack trace of test in case its not equal.
Since this parameter is not mandatory and its usually always set to
"true", we remove them from function signature to simplify the call
to Assert and AssertBench.
|
|
|
|
Turn out the word "criteria" is already plural, the singular word is
criterion.
|
|
The idea is to allow the package to be copied by others without any
dependencies except for testing.
|
|
Now that the Config can parse Host and required fields (User, Hostname,
Port, and IdentityFile), we can use the ConfigSection to be passed
to parameter when creating new Client.
|
|
The SSH Config will read and parse the configuration as defined in manual
ssh_config(5).
|