Local-ssh-config

Latest version: v0.4.5

Safety actively analyzes 623983 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.4.5

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

0.4.4

What's Changed
* Address actions from 14 by iancleary in https://github.com/iancleary/local-ssh-config/pull/15


**Full Changelog**: https://github.com/iancleary/local-ssh-config/compare/0.4.3...0.4.4

0.4.3

What's Changed
* Create config directory if it doesn't exist by iancleary in https://github.com/iancleary/local-ssh-config/pull/13


**Full Changelog**: https://github.com/iancleary/local-ssh-config/compare/0.4.2...0.4.3

0.4.2

* Updates `WINDOWS_MULTIPASS_DEFAULT_ID_RSA` for https://github.com/iancleary/local-ssh-config/pull/12

0.4.1

* Handle empty config file (config of `{}`) for host file prompts, addresses https://github.com/iancleary/local-ssh-config/issues/11
* [bump typer[all] dependency to 0.6.1](https://github.com/tiangolo/typer/blob/fac64ca03e9fda619710702c3364e233e0e644ac/pyproject.toml#L61-L65)

0.4.0

- Bump `typer` dependency to `0.5.0`
- Close 1: Handle Empty Configuration File
- Close 9: Prompt User to edit Windows hosts file

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.