This fixes 16 with PR 17.
Description
<!-- Provide clear description of the issue in 1-2 sentences. -->
"/c/ProgramData/Multipass/data/ssh-keys/id_rsa" vs "/c/`Windows`/ProgramData/Multipass/data/ssh-keys/id_rsa"
<!-- Add at least one screenshot of the problem. -->
Suggestions
<!-- Describe how the application should work instead. -->
Windows 11 config file
json
{
"host": "dev.multipass.local",
"hostname": {
"source": "multipass",
"name": "dev"
},
"user": "ubuntu",
"identity_file": "/c/ProgramData/Multipass/data/ssh-keys/id_rsa"
}
Windows 10 config file
json
{
"host": "dev.multipass.local",
"hostname": {
"source": "multipass",
"name": "dev"
},
"user": "ubuntu",
"identity_file": "/c/Windows/ProgramData/Multipass/data/ssh-keys/id_rsa"
}
<!-- List locations of relevant code modules. -->
https://github.com/iancleary/local-ssh-config/blob/b92b15c5d57b723ee51b038ebae8e710ac479fe6/local_ssh_config/ssh/_constants.py#L9-L11
The final code uses the `os.environ` variable with a default value: https://github.com/iancleary/local-ssh-config/commit/f7feb88c742cddb5bdfecdd4401065f5b6d2c93e#diff-574e09d12929e1211b1e6580c613b5f65f3448c0f6c007348a4aa665459c9a83L10-R14