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

Chapter 1 p.13 - SSH error permission denied ... #594

Open
Vladka-kurgan opened this issue Oct 16, 2024 · 0 comments
Open

Chapter 1 p.13 - SSH error permission denied ... #594

Vladka-kurgan opened this issue Oct 16, 2024 · 0 comments

Comments

@Vladka-kurgan
Copy link

I apologize in advance: it is possible that this was reported - I could not find it
I am getting this:
**vladka@Bidzon:/mnt/c/Users/vladi/vagrant/.vagrant/machines/default/virtualbox$ vagrant provision
==> default: Running provisioner: ansible...
Vagrant gathered an unknown Ansible version:

and falls back on the compatibility mode '1.8'.

Alternatively, the compatibility mode can be specified in your Vagrantfile:
https://www.vagrantup.com/docs/provisioning/ansible_common.html#compatibility_mode

default: Running ansible-playbook...

PLAY [all] *********************************************************************

TASK [Gathering Facts] *********************************************************
fatal: [default]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Warning: Permanently added '[172.19.176.1]:2222' (ED25519) to the list of known hosts.\r\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\r\n@ WARNING: UNPROTECTED PRIVATE KEY FILE! @\r\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\r\nPermissions 0777 for '/mnt/c/Users/vladi/vagrant/.vagrant/machines/default/virtualbox/private_key' are too open.\r\nIt is required that your private key files are NOT accessible by others.\r\nThis private key will be ignored.\r\nLoad key "/mnt/c/Users/vladi/vagrant/.vagrant/machines/default/virtualbox/private_key": bad permissions\r\nvagrant@172.19.176.1: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).", "unreachable": true}

PLAY RECAP *********************************************************************
default : ok=0 changed=0 unreachable=1 failed=0 skipped=0 rescued=0 ignored=0

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.**
I am running the playbook mentioned on page 13
I am not concerned about warning,,, the "bad premission .... " is puzzling me specifically that IP address mentioned - I do not know where that IP is coming from?

Please clarify when you have a few seconds

Regards,

Vlad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant