Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH key permissions error after machine boots up in vagrant #292

Open
crypt0ace opened this issue Oct 30, 2024 · 1 comment
Open

SSH key permissions error after machine boots up in vagrant #292

crypt0ace opened this issue Oct 30, 2024 · 1 comment
Labels
bug Something isn't working v3 windows

Comments

@crypt0ace
Copy link

Testing out the V3. Great work. There's an slight problem with Vagrant correctly setting up permissions on the SSH key file. Its not an issue but more like annoying because during the first install its required to constantly change the permissions manually on the key file until all 5 machines in GOAD are provisioned using vagrant. I'm using it on windows using WSL. If its possible to add the command before vagrant uses SSH, it will save some time.
The command that needs to be run is the following.

chmod 600 /mnt/g/Vagrant/.vagrant.d/insecure_private_keys/vagrant.key.ed25519

image

@Mayfly277 Mayfly277 added v3 windows bug Something isn't working labels Oct 30, 2024
@Mayfly277
Copy link
Collaborator

it is a vagrant issue.
i think the solution is here : hashicorp/vagrant#8742 (comment)

export VAGRANT_WSL_WINDOWS_ACCESS_USER_HOME_PATH="/mnt/g/Vagrant/"

I keep the issue open to see if i can automatically change that in goad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v3 windows
Projects
None yet
Development

No branches or pull requests

2 participants