Releases: iancleary/local-ssh-config
Releases · iancleary/local-ssh-config
Use os.environ for PROGRAMDATA Path
Description
"/c/ProgramData/Multipass/data/ssh-keys/id_rsa" vs "/c/Windows
/ProgramData/Multipass/data/ssh-keys/id_rsa"
Suggestions
Windows 11 config file
{
"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
{
"host": "dev.multipass.local",
"hostname": {
"source": "multipass",
"name": "dev"
},
"user": "ubuntu",
"identity_file": "/c/Windows/ProgramData/Multipass/data/ssh-keys/id_rsa"
}
The final code uses the os.environ
variable with a default value: f7feb88#diff-574e09d12929e1211b1e6580c613b5f65f3448c0f6c007348a4aa665459c9a83L10-R14
Create ~/.ssh/config if it doesn't exist
Create Config Folder If It Doesn't Exist
What's Changed
- Create config directory if it doesn't exist by @iancleary in #13
Full Changelog: 0.4.2...0.4.3
Multipass v1.10.0 id_rsa location bug fix
- Updates
WINDOWS_MULTIPASS_DEFAULT_ID_RSA
for #12
Windows Host File Prompt Handle Empty Config
- Handle empty config file (config of
{}
) for host file prompts, addresses #11 - bump typer[all] dependency to 0.6.1
Windows Host File Support
Rename to local-ssh-config
This changes the name from vm-ssh-config
to local-ssh-config
, and creates new CLI aliases: lsc
, local-ssh-config
, and local_ssh_config
to help me avoid confusion after installing the package and trying to run it.
Multipass Support
Support for multipass! 🚀
Fix CI Release Process
Bug Fixes #2 and #3
The releases publishes fixes for bugs #2 and #3.
Changes
- 93646a4 changes the config subdirectory
- 3827198 fixes hyper-v to use last row for ip address, which matches hyper-v manager.
Open Issues
- I only bumped the version in the
pyproject.toml
file, and not intests/test_version.py
, so the CI failed. No issue to use.