-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
[email protected]: Permission denied (publickey,gssapi-keyex,gssapi-with-mic). #13309
Comments
I read a lot of articles and tried a lot of methods. I reinstalled vagrant, but it still says I don’t have permission. Please help me. |
Having the same issue, worked a few months ago ... Solved it by adding this to the Vagrantfile: |
@alexgit2k Thank you, thank you very much. I didn’t find similar answers on the Internet. I would like to know how you came to know this solution. |
Found it here: https://www.devopsroles.com/vagrant-ssh-permission-denied-fixed/#How_do_fix_vagrant_ssh_Permission_denied But actually without |
It seems that Vagrant is copying SSH key with wrong permissions to Output from Vagrant SSH (Windows built-in): Vagrant SSH outputs:
It is happening on Debian / CentOS 7 boxes. Environment: NOTE: |
I believe this issue is a duplicate of //issues/13284. Downgrading to 2.3.7 worked for me. |
Hi there, I have tried to replicate this behavior but have not been successful. After Vagrant writes the new private key it will then run the I set up a project locally with inheritance enabled on the drive, ran a I'm not exactly sure where the configuration discrepancy is that's providing me the expected behavior. If one of you could provide the following, it would be very helpful to try and determine the underlying cause of this behavior:
Thanks! |
If anyone else is still facing this issue, try disabling synced folders. I changed it to and that fixed the issue. |
WORK-AROUND, DIAGNOSIS, AND PROPER DETAILED BUG REPORT BELOW |
Hi,Authors!
Take some pictures first!!!
![image](https://private-user-images.githubusercontent.com/42016410/291300718-6bbfa878-7b4c-4783-ae67-d9c5947dda95.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNjM1MDUsIm5iZiI6MTczOTM2MzIwNSwicGF0aCI6Ii80MjAxNjQxMC8yOTEzMDA3MTgtNmJiZmE4NzgtN2I0Yy00NzgzLWFlNjctZDljNTk0N2RkYTk1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDEyMjY0NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQzNDMwZGQxOTkxNGJjNmE2ZWZhMmIxZTJhZGI0ZGQzZjU0NTkwZmI5YjgwYzNjY2YyZWZjNTgyODNjNTE3ZTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.hVtL8CngiTpv5JwAGxz-z5EkXQV_jTcmJ8goMlUoHX8)
My operating system is win11, and the ssh I use comes with vagrant. private_key also has permissions.
My steps:
only these.
I've tried all kinds of methods but nothing works. I'm going crazy.
help me ,thank you.
The text was updated successfully, but these errors were encountered: