Skip to content

Releases: iancleary/local-ssh-config

Use os.environ for PROGRAMDATA Path

01 Sep 02:57
Compare
Choose a tag to compare

This fixes #16 with PR #17.

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"
}

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: f7feb88#diff-574e09d12929e1211b1e6580c613b5f65f3448c0f6c007348a4aa665459c9a83L10-R14

Create ~/.ssh/config if it doesn't exist

26 Aug 05:28
bcbef80
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.4.3...0.4.4

Create Config Folder If It Doesn't Exist

14 Jul 03:30
7c3ba5b
Compare
Choose a tag to compare

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

13 Jul 19:37
b1a82d5
Compare
Choose a tag to compare
  • Updates WINDOWS_MULTIPASS_DEFAULT_ID_RSA for #12

Windows Host File Prompt Handle Empty Config

13 Jul 16:33
Compare
Choose a tag to compare

Windows Host File Support

12 Jul 21:28
3a3b5f8
Compare
Choose a tag to compare
  • Bump typer dependency to 0.5.0
  • Close #1: Handle Empty Configuration File
  • Close #9: Prompt User to edit Windows hosts file

Rename to local-ssh-config

09 Jul 21:11
1f84e07
Compare
Choose a tag to compare

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

08 Jul 21:12
7b84c3c
Compare
Choose a tag to compare

Support for multipass! 🚀

Fix CI Release Process

12 Jun 17:14
Compare
Choose a tag to compare

The releases publishes fixes for bugs #2 and #3 and correctly updated the pyproject.toml and tests/test_version.py for the release.

Changes

  • 93646a4 changes the config subdirectory
  • 3827198 fixes hyper-v to use last row for ip address, which matches hyper-v manager.

Bug Fixes #2 and #3

12 Jun 17:10
Compare
Choose a tag to compare

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 in tests/test_version.py, so the CI failed. No issue to use.