-
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
Vagrant ssh throws winpty.exe file does not exist #9311
Comments
@mesiarm - Could you please provide a gist link with the debug log? Thanks! |
Same error here. |
How can I generate a debug log from this command? |
OK, that's interesting. I saw this thread #9027 which shows me the undocumented debug command, but also, shows that 'vagrant --debug ssh' does actually connect fine.. I'll acquire the debug log for you in a mo. |
Log: https://github.com/ryanhalley/vagrantssh Since 'vagrant --debug ssh' works without an error, this may not help you. |
Same error: It seems the winpty.exe and associated files have been moved one layer deeper in the file structure: Copying the files up into |
That workaround works for me, but make sure to copy the right |
Copy the files do not solved the problem: [2018-01-30 09:48.09] ~/Vagrant/devstation Now, simply do nothing. |
After upgrade (2.0.2): [brimr.BRITOLIVEFL596C] ➤ vagrant.exe ssh ✘ ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── [2018-01-30 11:42.43] ~/Vagrant/devstation [brimr.BRITOLIVEFL596C] ➤ |
See if you have an environment variable called VAGRANT_DETECTED_OS. Setting this was necessary to fix a Vagrant/Cygwin bug in earlier versions of Vagrant. Try removing this variable. |
Here is what fixed this issue for for me.
|
@neilluna nailed it. To save anyone else the search for unsetting environment variables:
Upon closer inspection, |
The error continues: [2018-02-07 08:19.32] ─ |
[2018-02-07 08:23.02] ~/Vagrant/devstation You're running an up-to-date version of Vagrant! |
Hi all. Problem resolved for me.
Thanks for help. |
@rodrigobrim What shell are you running vagrant within? Do you have an ssh executable installed on your system that is available in your PATH? |
Hey there, I am going to close this due to lack of response. If this is still occurring, please open a new issue and follow the provided issue template that appears when you click the "New Issue" button. This will help us in getting a reproduction and fix. Thanks! 😄 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Vagrant version
2.0.1.
Host operating system
Windows 10 64-bit
Guest operating system
Ubuntu 64-bit
Expected behavior
After vagrant ssh connected screen should appear.
Actual behavior
It throws error:
Exec error: exec: "C:\HashiCorp\Vagrant\embedded\bin\cygwin\winpty.exe": file does not exist
When I opened cygwin dir I saw directories 32 a 64 there and both contains winpty.exe file
Steps to reproduce
The text was updated successfully, but these errors were encountered: