ssh_config icon indicating copy to clipboard operation
ssh_config copied to clipboard

Implement possibility to check for existing config properties

Open codablock opened this issue 2 years ago • 1 comments

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 makes it impossible to act differently on non-existing entries. As an example, the port should not default to 22 when it was passed as part of the ssh invocation.

An incarnation of this issue can be found in go-git.

codablock avatar Apr 06 '22 08:04 codablock

I would like to know if the IdentityFiles returned are all system defaults or explicitly set for the host / match.

kke avatar Jan 24 '23 08:01 kke