ssh_config icon indicating copy to clipboard operation
ssh_config copied to clipboard

Go parser for ssh_config files

Results 30 ssh_config issues
Sort by recently updated
recently updated
newest added

When generate a config, there is no way to set spaceBeforeComment, which cause the # and EOLComment is printed immediately after the pattern. We have to downgrade to v1.1.0.

Due to the leadingspace field is private, we can not set the space information for new-nodes. It's format was not align with other nodes, and I think the TODO was...

There are still one or two missing; consider this a draft until they are finished. Also, fix one or two nits found by golint. This change introduces no new findings...

SSH supports Host patterns with spaces between double quotes, like the following: ``` Host "pattern with spaces" ``` Add support for parsing and serializing such patterns.

Right now, it's only possible to get a config value, which will always return the default value for that property in case it was not set in the config. This...

This PR adds a list of config options pulled from https://man.openbsd.org/ssh_config (an example function to re-pull the list is included as well, commented out), and adds a `KV.CanonicalKey()` function, such...

In ssh_config(5) it says: each pathname may contain glob(7) wildcards and, for user configu‐ rations, shell-like ‘~’ references to user home directories. This adds support for expanding the ~ into...

What is the expected behavior when neither of the identity files exist? It seems that the NonExist errors are ignored and a default value is returned. I'm trying to build...

I'm worried I'm not smart enough to implement `Match exec` properly; it seems like a security risk.